#7A254C#7A254C

#7A254C is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.124 H 355.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7A254C
RGBrgb(122, 37, 76)
HSLhsl(332, 53%, 31%)
HSVhsv(332, 70%, 48%)
CMYKcmyk(0%, 69.7%, 37.7%, 52.2%)
CIE-LABlab(29.37, 40.42, -3.63)
CIE-LCHlch(29.37, 40.58, 354.87°)
OKLaboklab(40.74% 0.1237 -0.0091)
OKLCHoklch(40.74% 0.124 355.8)
XYZxyz(9.9927, 5.9837, 7.4648)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A254C #257A53
analogous
#7A2576 #7A254C #7A2925
triadic
#7A254C #4C7A25 #254C7A
tetradic
#7A254C #767A25 #257A53 #29257A
square
#7A254C #767A25 #257A53 #29257A
split-complementary
#7A254C #257A29 #25767A
monochromatic
#1C0911 #4B172F #7A254C #A93369 #CA5088

Accessibility & contrast

On white

9.56
#7A254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A254C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A254C#FFFFFF#000000##FFFFFF
##7A254C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#4B4B4A
Tritanopia (blue-blind)
#841D35
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a254c;
/* rgb */ color: rgb(122, 37, 76);
/* oklch */ color: oklch(40.7% 0.124 355.8);
Tailwind
colors: {
  custom: {
    50: '#a4667e',
    500: '#7a254c',
    950: '#000000',
  },
}
SCSS
$custom: #7a254c;
$custom-light: #a4667e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a254c",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 332.471,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.124,
    "h": 355.8
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#7A254C
secondary
#4EAC81
accent
#DD9A4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A254C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7A254C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva