#9F2858#9F2858

#9F2858 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.159 H 0.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9F2858
RGBrgb(159, 40, 88)
HSLhsl(336, 60%, 39%)
HSVhsv(336, 75%, 62%)
CMYKcmyk(0%, 74.8%, 44.7%, 37.6%)
CIE-LABlab(37.11, 51.81, 0.74)
CIE-LCHlch(37.11, 51.81, 0.82°)
OKLaboklab(47.86% 0.1589 0.0025)
OKLCHoklch(47.86% 0.159 0.9)
XYZxyz(16.8196, 9.5953, 10.1970)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2858 #289F6F
analogous
#9F2894 #9F2858 #9F3328
triadic
#9F2858 #589F28 #28589F
tetradic
#9F2858 #949F28 #289F6F #33289F
square
#9F2858 #949F28 #289F6F #33289F
split-complementary
#9F2858 #289F33 #28949F
monochromatic
#3D0F22 #6E1C3D #9F2858 #CD3774 #D96896

Accessibility & contrast

On white

7.20
#9F2858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F2858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2858
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2858#FFFFFF#000000##FFFFFF
##9F28581.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424959
Deuteranopia (green-blind)
#626055
Tritanopia (blue-blind)
#AD143D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2858;
/* rgb */ color: rgb(159, 40, 88);
/* oklch */ color: oklch(47.9% 0.159 0.9);
Tailwind
colors: {
  custom: {
    50: '#c06d87',
    500: '#9f2858',
    950: '#000000',
  },
}
SCSS
$custom: #9f2858;
$custom-light: #c06d87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2858",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 335.798,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.15893,
    "h": 0.9
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#9F2858
secondary
#64BF9A
accent
#E3A345
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2858

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

Preview Lab → · Contrast checker → · Palette generator →

#9F2858 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva