#7E113B#7E113B

#7E113B is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.144 H 4.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7E113B
RGBrgb(126, 17, 59)
HSLhsl(337, 76%, 28%)
HSVhsv(337, 87%, 49%)
CMYKcmyk(0%, 86.5%, 53.2%, 50.6%)
CIE-LABlab(27.17, 46.74, 4.64)
CIE-LCHlch(27.17, 46.97, 5.67°)
OKLaboklab(39.09% 0.1431 0.0122)
OKLCHoklch(39.09% 0.144 4.9)
XYZxyz(9.5949, 5.1537, 4.6263)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E113B #117E54
analogous
#7E1171 #7E113B #7E1E11
triadic
#7E113B #3B7E11 #113B7E
tetradic
#7E113B #717E11 #117E54 #1E117E
square
#7E113B #717E11 #117E54 #1E117E
split-complementary
#7E113B #117E1E #11717E
monochromatic
#1B040D #480A22 #7E113B #B41854 #E2276F

Accessibility & contrast

On white

10.34
#7E113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E113B
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E113B#FFFFFF#000000##FFFFFF
##7E113B1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333C
Deuteranopia (green-blind)
#4C4838
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e113b;
/* rgb */ color: rgb(126, 17, 59);
/* oklch */ color: oklch(39.1% 0.144 4.9);
Tailwind
colors: {
  custom: {
    50: '#a95e70',
    500: '#7e113b',
    950: '#000000',
  },
}
SCSS
$custom: #7e113b;
$custom-light: #a95e70;
$custom-dark: #000000;
JSON
{
  "hex": "#7e113b",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 336.881,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.14365,
    "h": 4.9
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#7E113B
secondary
#37B484
accent
#F3AA35
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E113B

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

Preview Lab → · Contrast checker → · Palette generator →

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