#7F1032#7F1032

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

Color values

HEX#7F1032
RGBrgb(127, 16, 50)
HSLhsl(342, 78%, 28%)
HSVhsv(342, 87%, 50%)
CMYKcmyk(0%, 87.4%, 60.6%, 50.2%)
CIE-LABlab(27.06, 46.56, 10.63)
CIE-LCHlch(27.06, 47.76, 12.86°)
OKLaboklab(38.96% 0.1411 0.0265)
OKLCHoklch(38.96% 0.144 10.6)
XYZxyz(9.5144, 5.1143, 3.5032)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1032 #107F5D
analogous
#7F1069 #7F1032 #7F2610
triadic
#7F1032 #327F10 #10327F
tetradic
#7F1032 #697F10 #107F5D #26107F
square
#7F1032 #697F10 #107F5D #26107F
split-complementary
#7F1032 #107F26 #10697F
monochromatic
#1B030B #49091D #7F1032 #B51747 #E42660

Accessibility & contrast

On white

10.38
#7F1032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1032
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1032#FFFFFF#000000##FFFFFF
##7F10321.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1032;
/* rgb */ color: rgb(127, 16, 50);
/* oklch */ color: oklch(39.0% 0.144 10.6);
Tailwind
colors: {
  custom: {
    50: '#ab5d69',
    500: '#7f1032',
    950: '#000000',
  },
}
SCSS
$custom: #7f1032;
$custom-light: #ab5d69;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1032",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 341.622,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.14353,
    "h": 10.6
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#7F1032
secondary
#36B58E
accent
#F4B934
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7F1032

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

Preview Lab → · Contrast checker → · Palette generator →

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