#7E1E39#7E1E39

#7E1E39 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.131 H 8.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7E1E39
RGBrgb(126, 30, 57)
HSLhsl(343, 62%, 31%)
HSVhsv(343, 76%, 49%)
CMYKcmyk(0%, 76.2%, 54.8%, 50.6%)
CIE-LABlab(28.54, 42.54, 7.92)
CIE-LCHlch(28.54, 43.27, 10.55°)
OKLaboklab(40.08% 0.1293 0.0203)
OKLCHoklch(40.08% 0.131 8.9)
XYZxyz(9.8079, 5.6609, 4.4463)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E39 #1E7E63
analogous
#7E1E69 #7E1E39 #7E331E
triadic
#7E1E39 #397E1E #1E397E
tetradic
#7E1E39 #697E1E #1E7E63 #331E7E
square
#7E1E39 #697E1E #1E7E63 #331E7E
split-complementary
#7E1E39 #1E7E33 #1E697E
monochromatic
#1B060C #4D1223 #7E1E39 #AF2A4F #D2446C

Accessibility & contrast

On white

9.85
#7E1E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E39
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E39#FFFFFF#000000##FFFFFF
##7E1E391.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363739
Deuteranopia (green-blind)
#4F4A37
Tritanopia (blue-blind)
#8A0629
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e39;
/* rgb */ color: rgb(126, 30, 57);
/* oklch */ color: oklch(40.1% 0.131 8.9);
Tailwind
colors: {
  custom: {
    50: '#a9636f',
    500: '#7e1e39',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e39;
$custom-light: #a9636f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e39",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 343.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40079,
    "c": 0.13089,
    "h": 8.9
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#7E1E39
secondary
#47B193
accent
#E5B743
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E1E39

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

Preview Lab → · Contrast checker → · Palette generator →

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