#9F1E52#9F1E52

#9F1E52 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 2.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9F1E52
RGBrgb(159, 30, 82)
HSLhsl(336, 68%, 37%)
HSVhsv(336, 81%, 62%)
CMYKcmyk(0%, 81.1%, 48.4%, 37.6%)
CIE-LABlab(35.81, 54.39, 2.72)
CIE-LCHlch(35.81, 54.46, 2.86°)
OKLaboklab(46.85% 0.1669 0.0075)
OKLCHoklch(46.85% 0.167 2.6)
XYZxyz(16.2867, 8.9109, 8.8434)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E52 #1E9F6B
analogous
#9F1E93 #9F1E52 #9F2B1E
triadic
#9F1E52 #529F1E #1E529F
tetradic
#9F1E52 #939F1E #1E9F6B #2B1E9F
square
#9F1E52 #939F1E #1E9F6B #2B1E9F
split-complementary
#9F1E52 #1E9F2B #1E939F
monochromatic
#380B1D #6C1437 #9F1E52 #D2286D #DF588F

Accessibility & contrast

On white

7.55
#9F1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E52
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E52#FFFFFF#000000##FFFFFF
##9F1E521.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1e52;
/* rgb */ color: rgb(159, 30, 82);
/* oklch */ color: oklch(46.9% 0.167 2.6);
Tailwind
colors: {
  custom: {
    50: '#c16982',
    500: '#9f1e52',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e52;
$custom-light: #c16982;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e52",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 335.814,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4685,
    "c": 0.16706,
    "h": 2.6
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#9F1E52
secondary
#56C397
accent
#EBA53D
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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