#7E1139#7E1139

#7E1139 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.143 H 6.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7E1139
RGBrgb(126, 17, 57)
HSLhsl(338, 76%, 28%)
HSVhsv(338, 87%, 49%)
CMYKcmyk(0%, 86.5%, 54.8%, 50.6%)
CIE-LABlab(27.11, 46.58, 5.91)
CIE-LCHlch(27.11, 46.95, 7.24°)
OKLaboklab(39.03% 0.1424 0.0153)
OKLCHoklch(39.03% 0.143 6.1)
XYZxyz(9.5441, 5.1333, 4.3584)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1139 #117E56
analogous
#7E116F #7E1139 #7E2011
triadic
#7E1139 #397E11 #11397E
tetradic
#7E1139 #6F7E11 #117E56 #20117E
square
#7E1139 #6F7E11 #117E56 #20117E
split-complementary
#7E1139 #117E20 #116F7E
monochromatic
#1B040C #480A21 #7E1139 #B41851 #E2276C

Accessibility & contrast

On white

10.36
#7E1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1139
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1139#FFFFFF#000000##FFFFFF
##7E11391.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30323A
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1139;
/* rgb */ color: rgb(126, 17, 57);
/* oklch */ color: oklch(39.0% 0.143 6.1);
Tailwind
colors: {
  custom: {
    50: '#a95e6f',
    500: '#7e1139',
    950: '#000000',
  },
}
SCSS
$custom: #7e1139;
$custom-light: #a95e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1139",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 337.982,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39026,
    "c": 0.14317,
    "h": 6.1
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#7E1139
secondary
#37B486
accent
#F3AD35
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1139

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

Preview Lab → · Contrast checker → · Palette generator →

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