#7F1E49#7F1E49

#7F1E49 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.136 H 358.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7F1E49
RGBrgb(127, 30, 73)
HSLhsl(333, 62%, 31%)
HSVhsv(333, 76%, 50%)
CMYKcmyk(0%, 76.4%, 42.5%, 50.2%)
CIE-LABlab(29.22, 44.40, -1.76)
CIE-LCHlch(29.22, 44.44, 357.73°)
OKLaboklab(40.77% 0.1363 -0.0041)
OKLCHoklch(40.77% 0.136 358.3)
XYZxyz(10.4200, 5.9229, 6.8966)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E49 #1E7F54
analogous
#7F1E79 #7F1E49 #7F231E
triadic
#7F1E49 #497F1E #1E497F
tetradic
#7F1E49 #797F1E #1E7F54 #231E7F
square
#7F1E49 #797F1E #1E7F54 #231E7F
split-complementary
#7F1E49 #1E7F23 #1E797F
monochromatic
#1C0710 #4D122D #7F1E49 #B12A65 #D34484

Accessibility & contrast

On white

9.61
#7F1E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E49
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E49#FFFFFF#000000##FFFFFF
##7F1E491.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394A
Deuteranopia (green-blind)
#4D4C47
Tritanopia (blue-blind)
#8A1031
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1e49;
/* rgb */ color: rgb(127, 30, 73);
/* oklch */ color: oklch(40.8% 0.136 358.3);
Tailwind
colors: {
  custom: {
    50: '#a9637b',
    500: '#7f1e49',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e49;
$custom-light: #a9637b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e49",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 333.402,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4077,
    "c": 0.13637,
    "h": 358.3
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#7F1E49
secondary
#47B283
accent
#E59D43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F1E49

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

Preview Lab → · Contrast checker → · Palette generator →

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