#7E1136#7E1136

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

Color values

HEX#7E1136
RGBrgb(126, 17, 54)
HSLhsl(340, 76%, 28%)
HSVhsv(340, 87%, 49%)
CMYKcmyk(0%, 86.5%, 57.1%, 50.6%)
CIE-LABlab(27.03, 46.33, 7.84)
CIE-LCHlch(27.03, 46.99, 9.60°)
OKLaboklab(38.94% 0.1411 0.02)
OKLCHoklch(38.94% 0.143 8)
XYZxyz(9.4714, 5.1043, 3.9758)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1136 #117E59
analogous
#7E116C #7E1136 #7E2211
triadic
#7E1136 #367E11 #11367E
tetradic
#7E1136 #6C7E11 #117E59 #22117E
square
#7E1136 #6C7E11 #117E59 #22117E
split-complementary
#7E1136 #117E22 #116C7E
monochromatic
#1B040C #480A1F #7E1136 #B4184D #E22767

Accessibility & contrast

On white

10.39
#7E1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1136
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1136#FFFFFF#000000##FFFFFF
##7E11361.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303237
Deuteranopia (green-blind)
#4C4833
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1136;
/* rgb */ color: rgb(126, 17, 54);
/* oklch */ color: oklch(38.9% 0.143 8.0);
Tailwind
colors: {
  custom: {
    50: '#a95e6c',
    500: '#7e1136',
    950: '#000000',
  },
}
SCSS
$custom: #7e1136;
$custom-light: #a95e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1136",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 339.633,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3894,
    "c": 0.14254,
    "h": 8
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#7E1136
secondary
#37B48A
accent
#F3B235
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1136

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

Preview Lab → · Contrast checker → · Palette generator →

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