#7E112D#7E112D

#7E112D is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.141 H 13.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7E112D
RGBrgb(126, 17, 45)
HSLhsl(345, 76%, 28%)
HSVhsv(345, 87%, 49%)
CMYKcmyk(0%, 86.5%, 64.3%, 50.6%)
CIE-LABlab(26.81, 45.69, 13.65)
CIE-LCHlch(26.81, 47.69, 16.63°)
OKLaboklab(38.71% 0.1374 0.0333)
OKLCHoklch(38.71% 0.141 13.6)
XYZxyz(9.2793, 5.0274, 2.9639)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E112D #117E62
analogous
#7E1163 #7E112D #7E2B11
triadic
#7E112D #2D7E11 #112D7E
tetradic
#7E112D #637E11 #117E62 #2B117E
square
#7E112D #637E11 #117E62 #2B117E
split-complementary
#7E112D #117E2B #11637E
monochromatic
#1B040A #480A1A #7E112D #B41840 #E22757

Accessibility & contrast

On white

10.47
#7E112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E112D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E112D#FFFFFF#000000##FFFFFF
##7E112D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312D
Deuteranopia (green-blind)
#4E472A
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e112d;
/* rgb */ color: rgb(126, 17, 45);
/* oklch */ color: oklch(38.7% 0.141 13.6);
Tailwind
colors: {
  custom: {
    50: '#aa5d65',
    500: '#7e112d',
    950: '#000000',
  },
}
SCSS
$custom: #7e112d;
$custom-light: #aa5d65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e112d",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 344.587,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3871,
    "c": 0.14138,
    "h": 13.6
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#7E112D
secondary
#37B494
accent
#F3C235
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E112D

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

Preview Lab → · Contrast checker → · Palette generator →

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