#7E112F#7E112F

#7E112F is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.8% C 0.142 H 12.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7E112F
RGBrgb(126, 17, 47)
HSLhsl(343, 76%, 28%)
HSVhsv(343, 87%, 49%)
CMYKcmyk(0%, 86.5%, 62.7%, 50.6%)
CIE-LABlab(26.86, 45.83, 12.36)
CIE-LCHlch(26.86, 47.46, 15.09°)
OKLaboklab(38.76% 0.1383 0.0304)
OKLCHoklch(38.76% 0.142 12.4)
XYZxyz(9.3187, 5.0432, 3.1715)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E112F #117E60
analogous
#7E1165 #7E112F #7E2911
triadic
#7E112F #2F7E11 #112F7E
tetradic
#7E112F #657E11 #117E60 #29117E
square
#7E112F #657E11 #117E60 #29117E
split-complementary
#7E112F #117E29 #11657E
monochromatic
#1B040A #480A1B #7E112F #B41843 #E2275B

Accessibility & contrast

On white

10.46
#7E112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E112F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E112F#FFFFFF#000000##FFFFFF
##7E112F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312F
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e112f;
/* rgb */ color: rgb(126, 17, 47);
/* oklch */ color: oklch(38.8% 0.142 12.4);
Tailwind
colors: {
  custom: {
    50: '#aa5e67',
    500: '#7e112f',
    950: '#000000',
  },
}
SCSS
$custom: #7e112f;
$custom-light: #aa5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e112f",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 343.486,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38757,
    "c": 0.14155,
    "h": 12.4
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#7E112F
secondary
#37B492
accent
#F3BF35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E112F

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

Preview Lab → · Contrast checker → · Palette generator →

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