#7F1131#7F1131

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

Color values

HEX#7F1131
RGBrgb(127, 17, 49)
HSLhsl(343, 76%, 28%)
HSVhsv(343, 87%, 50%)
CMYKcmyk(0%, 86.6%, 61.4%, 50.2%)
CIE-LABlab(27.12, 46.25, 11.39)
CIE-LCHlch(27.12, 47.63, 13.83°)
OKLaboklab(39% 0.1399 0.0282)
OKLCHoklch(39% 0.143 11.4)
XYZxyz(9.5082, 5.1361, 3.3958)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1131 #117F5F
analogous
#7F1168 #7F1131 #7F2811
triadic
#7F1131 #317F11 #11317F
tetradic
#7F1131 #687F11 #117F5F #28117F
square
#7F1131 #687F11 #117F5F #28117F
split-complementary
#7F1131 #117F28 #11687F
monochromatic
#1B040A #490A1C #7F1131 #B51846 #E2285E

Accessibility & contrast

On white

10.36
#7F1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1131
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1131#FFFFFF#000000##FFFFFF
##7F11311.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323231
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1131;
/* rgb */ color: rgb(127, 17, 49);
/* oklch */ color: oklch(39.0% 0.143 11.4);
Tailwind
colors: {
  custom: {
    50: '#ab5e68',
    500: '#7f1131',
    950: '#000000',
  },
}
SCSS
$custom: #7f1131;
$custom-light: #ab5e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1131",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 342.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.14269,
    "h": 11.4
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#7F1131
secondary
#37B590
accent
#F3BC35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1131

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

Preview Lab → · Contrast checker → · Palette generator →

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