#7F1656#7F1656

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

Color values

HEX#7F1656
RGBrgb(127, 22, 86)
HSLhsl(323, 70%, 29%)
HSVhsv(323, 83%, 50%)
CMYKcmyk(0%, 82.7%, 32.3%, 50.2%)
CIE-LABlab(28.80, 48.49, -11.00)
CIE-LCHlch(28.80, 49.72, 347.22°)
OKLaboklab(40.62% 0.1483 -0.0288)
OKLCHoklch(40.62% 0.151 349)
XYZxyz(10.7196, 5.7590, 9.3494)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1656 #167F3F
analogous
#74167F #7F1656 #7F1621
triadic
#7F1656 #567F16 #16567F
tetradic
#7F1656 #7F7416 #167F3F #16217F
square
#7F1656 #7F7416 #167F3F #16217F
split-complementary
#7F1656 #217F16 #167F74
monochromatic
#1A0512 #4B0D33 #7F1656 #B31F79 #DC349A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1656#FFFFFF#000000##FFFFFF
##7F16561.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)
#293858
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#890E34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1656;
/* rgb */ color: rgb(127, 22, 86);
/* oklch */ color: oklch(40.6% 0.151 349.0);
Tailwind
colors: {
  custom: {
    50: '#a86185',
    500: '#7f1656',
    950: '#000000',
  },
}
SCSS
$custom: #7f1656;
$custom-light: #a86185;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1656",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 323.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.15112,
    "h": 349
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#7F1656
secondary
#3DB46B
accent
#ED803B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1656

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

Preview Lab → · Contrast checker → · Palette generator →

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