#7E1E49#7E1E49

#7E1E49 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.135 H 357.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7E1E49
RGBrgb(126, 30, 73)
HSLhsl(333, 62%, 31%)
HSVhsv(333, 76%, 49%)
CMYKcmyk(0%, 76.2%, 42.1%, 50.6%)
CIE-LABlab(29.02, 44.10, -2.07)
CIE-LCHlch(29.02, 44.15, 357.31°)
OKLaboklab(40.59% 0.1354 -0.0049)
OKLCHoklch(40.59% 0.135 357.9)
XYZxyz(10.2718, 5.8465, 6.8896)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E49 #1E7E53
analogous
#7E1E79 #7E1E49 #7E231E
triadic
#7E1E49 #497E1E #1E497E
tetradic
#7E1E49 #797E1E #1E7E53 #231E7E
square
#7E1E49 #797E1E #1E7E53 #231E7E
split-complementary
#7E1E49 #1E7E23 #1E797E
monochromatic
#1B0610 #4D122C #7E1E49 #AF2A66 #D24484

Accessibility & contrast

On white

9.68
#7E1E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E49
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E49#FFFFFF#000000##FFFFFF
##7E1E491.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394A
Deuteranopia (green-blind)
#4C4B47
Tritanopia (blue-blind)
#891131
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1e49;
/* rgb */ color: rgb(126, 30, 73);
/* oklch */ color: oklch(40.6% 0.135 357.9);
Tailwind
colors: {
  custom: {
    50: '#a8637b',
    500: '#7e1e49',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e49;
$custom-light: #a8637b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e49",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 333.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40591,
    "c": 0.13548,
    "h": 357.9
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#7E1E49
secondary
#47B181
accent
#E59C43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1E49

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

Preview Lab → · Contrast checker → · Palette generator →

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