#7F1859#7F1859

#7F1859 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.151 H 347.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7F1859
RGBrgb(127, 24, 89)
HSLhsl(322, 68%, 30%)
HSVhsv(322, 81%, 50%)
CMYKcmyk(0%, 81.1%, 29.9%, 50.2%)
CIE-LABlab(29.13, 48.28, -12.47)
CIE-LCHlch(29.13, 49.86, 345.52°)
OKLaboklab(40.91% 0.1472 -0.0329)
OKLCHoklch(40.91% 0.151 347.4)
XYZxyz(10.8828, 5.8878, 10.0126)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1859 #187F3E
analogous
#72187F #7F1859 #7F1826
triadic
#7F1859 #597F18 #18597F
tetradic
#7F1859 #7F7218 #187F3E #18267F
square
#7F1859 #7F7218 #187F3E #18267F
split-complementary
#7F1859 #267F18 #187F72
monochromatic
#1A0512 #4C0E35 #7F1859 #B2227D #D9389E

Accessibility & contrast

On white

9.64
#7F1859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1859
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1859#FFFFFF#000000##FFFFFF
##7F18591.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#881337
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1859;
/* rgb */ color: rgb(127, 24, 89);
/* oklch */ color: oklch(40.9% 0.151 347.4);
Tailwind
colors: {
  custom: {
    50: '#a86288',
    500: '#7f1859',
    950: '#000000',
  },
}
SCSS
$custom: #7f1859;
$custom-light: #a86288;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1859",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 322.136,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40905,
    "c": 0.15084,
    "h": 347.4
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#7F1859
secondary
#3FB36A
accent
#EB7D3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1859

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

Preview Lab → · Contrast checker → · Palette generator →

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