#9F1952#9F1952

#9F1952 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 2.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9F1952
RGBrgb(159, 25, 82)
HSLhsl(334, 73%, 36%)
HSVhsv(334, 84%, 62%)
CMYKcmyk(0%, 84.3%, 48.4%, 37.6%)
CIE-LABlab(35.36, 55.69, 2.06)
CIE-LCHlch(35.36, 55.73, 2.12°)
OKLaboklab(46.52% 0.1711 0.0059)
OKLCHoklch(46.52% 0.171 2)
XYZxyz(16.1701, 8.6777, 8.8045)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1952 #199F66
analogous
#9F1995 #9F1952 #9F2319
triadic
#9F1952 #529F19 #19529F
tetradic
#9F1952 #959F19 #199F66 #23199F
square
#9F1952 #959F19 #199F66 #23199F
split-complementary
#9F1952 #199F23 #19959F
monochromatic
#35081B #6A1137 #9F1952 #D4216D #E34F8E

Accessibility & contrast

On white

7.68
#9F1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1952
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1952#FFFFFF#000000##FFFFFF
##9F19521.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AD0034
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1952;
/* rgb */ color: rgb(159, 25, 82);
/* oklch */ color: oklch(46.5% 0.171 2.0);
Tailwind
colors: {
  custom: {
    50: '#c16782',
    500: '#9f1952',
    950: '#000000',
  },
}
SCSS
$custom: #9f1952;
$custom-light: #c16782;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1952",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 334.478,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.1712,
    "h": 2
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#9F1952
secondary
#4EC693
accent
#F0A238
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1952

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

Preview Lab → · Contrast checker → · Palette generator →

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