#7F1659#7F1659

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

Color values

HEX#7F1659
RGBrgb(127, 22, 89)
HSLhsl(322, 70%, 29%)
HSVhsv(322, 83%, 50%)
CMYKcmyk(0%, 82.7%, 29.9%, 50.2%)
CIE-LABlab(28.92, 48.86, -12.78)
CIE-LCHlch(28.92, 50.50, 345.34°)
OKLaboklab(40.76% 0.149 -0.0338)
OKLCHoklch(40.76% 0.153 347.2)
XYZxyz(10.8430, 5.8084, 9.9994)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1659 #167F3C
analogous
#71167F #7F1659 #7F1625
triadic
#7F1659 #597F16 #16597F
tetradic
#7F1659 #7F7116 #167F3C #16257F
square
#7F1659 #7F7116 #167F3C #16257F
split-complementary
#7F1659 #257F16 #167F71
monochromatic
#1A0512 #4B0D34 #7F1659 #B31F7E #DC349F

Accessibility & contrast

On white

9.72
#7F1659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1659
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1659#FFFFFF#000000##FFFFFF
##7F16591.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395B
Deuteranopia (green-blind)
#464B57
Tritanopia (blue-blind)
#881136
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1659;
/* rgb */ color: rgb(127, 22, 89);
/* oklch */ color: oklch(40.8% 0.153 347.2);
Tailwind
colors: {
  custom: {
    50: '#a86188',
    500: '#7f1659',
    950: '#000000',
  },
}
SCSS
$custom: #7f1659;
$custom-light: #a86188;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1659",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 321.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40758,
    "c": 0.15281,
    "h": 347.2
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#7F1659
secondary
#3DB468
accent
#ED7B3B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7F1659

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

Preview Lab → · Contrast checker → · Palette generator →

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