#7F1558#7F1558

#7F1558 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.153 H 347.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7F1558
RGBrgb(127, 21, 88)
HSLhsl(322, 72%, 29%)
HSVhsv(322, 83%, 50%)
CMYKcmyk(0%, 83.5%, 30.7%, 50.2%)
CIE-LABlab(28.78, 49.01, -12.34)
CIE-LCHlch(28.78, 50.54, 345.87°)
OKLaboklab(40.64% 0.1497 -0.0325)
OKLCHoklch(40.64% 0.153 347.7)
XYZxyz(10.7826, 5.7542, 9.7735)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1558 #157F3C
analogous
#71157F #7F1558 #7F1523
triadic
#7F1558 #587F15 #15587F
tetradic
#7F1558 #7F7115 #157F3C #15237F
square
#7F1558 #7F7115 #157F3C #15237F
split-complementary
#7F1558 #237F15 #157F71
monochromatic
#1A0412 #4A0C34 #7F1558 #B41E7C #DD319E

Accessibility & contrast

On white

9.76
#7F1558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1558
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1558#FFFFFF#000000##FFFFFF
##7F15581.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#474A56
Tritanopia (blue-blind)
#890F35
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1558;
/* rgb */ color: rgb(127, 21, 88);
/* oklch */ color: oklch(40.6% 0.153 347.7);
Tailwind
colors: {
  custom: {
    50: '#a86087',
    500: '#7f1558',
    950: '#000000',
  },
}
SCSS
$custom: #7f1558;
$custom-light: #a86087;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1558",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 322.075,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.15317,
    "h": 347.7
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#7F1558
secondary
#3CB468
accent
#EE7C39
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1558

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

Preview Lab → · Contrast checker → · Palette generator →

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