#7F1136#7F1136

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

Color values

HEX#7F1136
RGBrgb(127, 17, 54)
HSLhsl(340, 76%, 28%)
HSVhsv(340, 87%, 50%)
CMYKcmyk(0%, 86.6%, 57.5%, 50.2%)
CIE-LABlab(27.24, 46.62, 8.17)
CIE-LCHlch(27.24, 47.33, 9.94°)
OKLaboklab(39.13% 0.1419 0.0207)
OKLCHoklch(39.13% 0.143 8.3)
XYZxyz(9.6197, 5.1807, 3.9828)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1136 #117F5A
analogous
#7F116D #7F1136 #7F2311
triadic
#7F1136 #367F11 #11367F
tetradic
#7F1136 #6D7F11 #117F5A #23117F
square
#7F1136 #6D7F11 #117F5A #23117F
split-complementary
#7F1136 #117F23 #116D7F
monochromatic
#1B040B #490A1F #7F1136 #B5184D #E22867

Accessibility & contrast

On white

10.32
#7F1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1136
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1136#FFFFFF#000000##FFFFFF
##7F11361.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313237
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1136;
/* rgb */ color: rgb(127, 17, 54);
/* oklch */ color: oklch(39.1% 0.143 8.3);
Tailwind
colors: {
  custom: {
    50: '#aa5e6c',
    500: '#7f1136',
    950: '#000000',
  },
}
SCSS
$custom: #7f1136;
$custom-light: #aa5e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1136",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 339.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39134,
    "c": 0.14344,
    "h": 8.3
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#7F1136
secondary
#37B58B
accent
#F3B335
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1136

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

Preview Lab → · Contrast checker → · Palette generator →

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