#7F1556#7F1556

#7F1556 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.152 H 348.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7F1556
RGBrgb(127, 21, 86)
HSLhsl(323, 72%, 29%)
HSVhsv(323, 83%, 50%)
CMYKcmyk(0%, 83.5%, 32.3%, 50.2%)
CIE-LABlab(28.70, 48.77, -11.15)
CIE-LCHlch(28.70, 50.02, 347.12°)
OKLaboklab(40.55% 0.1492 -0.0292)
OKLCHoklch(40.55% 0.152 348.9)
XYZxyz(10.7009, 5.7215, 9.3431)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1556 #157F3E
analogous
#73157F #7F1556 #7F1521
triadic
#7F1556 #567F15 #15567F
tetradic
#7F1556 #7F7315 #157F3E #15217F
square
#7F1556 #7F7315 #157F3E #15217F
split-complementary
#7F1556 #217F15 #157F73
monochromatic
#1A0412 #4A0C32 #7F1556 #B41E7A #DD319B

Accessibility & contrast

On white

9.79
#7F1556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1556
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1556#FFFFFF#000000##FFFFFF
##7F15561.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283858
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#890D34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1556;
/* rgb */ color: rgb(127, 21, 86);
/* oklch */ color: oklch(40.6% 0.152 348.9);
Tailwind
colors: {
  custom: {
    50: '#a86085',
    500: '#7f1556',
    950: '#000000',
  },
}
SCSS
$custom: #7f1556;
$custom-light: #a86085;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1556",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 323.208,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.15206,
    "h": 348.9
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#7F1556
secondary
#3CB46A
accent
#EE7F39
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1556

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

Preview Lab → · Contrast checker → · Palette generator →

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