#7F1959#7F1959

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

Color values

HEX#7F1959
RGBrgb(127, 25, 89)
HSLhsl(322, 67%, 30%)
HSVhsv(322, 80%, 50%)
CMYKcmyk(0%, 80.3%, 29.9%, 50.2%)
CIE-LABlab(29.23, 47.97, -12.30)
CIE-LCHlch(29.23, 49.52, 345.62°)
OKLaboklab(40.98% 0.1463 -0.0325)
OKLCHoklch(40.98% 0.15 347.5)
XYZxyz(10.9037, 5.9298, 10.0196)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1959 #197F3F
analogous
#72197F #7F1959 #7F1926
triadic
#7F1959 #597F19 #19597F
tetradic
#7F1959 #7F7219 #197F3F #19267F
square
#7F1959 #7F7219 #197F3F #19267F
split-complementary
#7F1959 #267F19 #197F72
monochromatic
#1A0512 #4C0F35 #7F1959 #B2237D #D83A9D

Accessibility & contrast

On white

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

On black

2.19
#7F1959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F1959#FFFFFF#000000##FFFFFF
##7F19591.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#881437
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1959;
/* rgb */ color: rgb(127, 25, 89);
/* oklch */ color: oklch(41.0% 0.150 347.5);
Tailwind
colors: {
  custom: {
    50: '#a86288',
    500: '#7f1959',
    950: '#000000',
  },
}
SCSS
$custom: #7f1959;
$custom-light: #a86288;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1959",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 322.353,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.14981,
    "h": 347.5
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#7F1959
secondary
#41B36B
accent
#EA7E3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1959

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

Preview Lab → · Contrast checker → · Palette generator →

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