#7F1132#7F1132

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

Color values

HEX#7F1132
RGBrgb(127, 17, 50)
HSLhsl(342, 76%, 28%)
HSVhsv(342, 87%, 50%)
CMYKcmyk(0%, 86.6%, 60.6%, 50.2%)
CIE-LABlab(27.14, 46.32, 10.74)
CIE-LCHlch(27.14, 47.55, 13.06°)
OKLaboklab(39.03% 0.1403 0.0268)
OKLCHoklch(39.03% 0.143 10.8)
XYZxyz(9.5296, 5.1447, 3.5082)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1132 #117F5E
analogous
#7F1169 #7F1132 #7F2711
triadic
#7F1132 #327F11 #11327F
tetradic
#7F1132 #697F11 #117F5E #27117F
square
#7F1132 #697F11 #117F5E #27117F
split-complementary
#7F1132 #117F27 #11697F
monochromatic
#1B040B #490A1D #7F1132 #B51847 #E22860

Accessibility & contrast

On white

10.35
#7F1132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1132
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1132#FFFFFF#000000##FFFFFF
##7F11321.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1132;
/* rgb */ color: rgb(127, 17, 50);
/* oklch */ color: oklch(39.0% 0.143 10.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e69',
    500: '#7f1132',
    950: '#000000',
  },
}
SCSS
$custom: #7f1132;
$custom-light: #ab5e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1132",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 342,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39028,
    "c": 0.14282,
    "h": 10.8
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#7F1132
secondary
#37B58F
accent
#F3BA35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1132

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

Preview Lab → · Contrast checker → · Palette generator →

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