#9F1B52#9F1B52

#9F1B52 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.170 H 2.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9F1B52
RGBrgb(159, 27, 82)
HSLhsl(335, 71%, 36%)
HSVhsv(335, 83%, 62%)
CMYKcmyk(0%, 83%, 48.4%, 37.6%)
CIE-LABlab(35.53, 55.19, 2.31)
CIE-LCHlch(35.53, 55.24, 2.40°)
OKLaboklab(46.64% 0.1695 0.0065)
OKLCHoklch(46.64% 0.17 2.2)
XYZxyz(16.2144, 8.7663, 8.8193)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B52 #1B9F68
analogous
#9F1B94 #9F1B52 #9F261B
triadic
#9F1B52 #529F1B #1B529F
tetradic
#9F1B52 #949F1B #1B9F68 #261B9F
square
#9F1B52 #949F1B #1B9F68 #261B9F
split-complementary
#9F1B52 #1B9F26 #1B949F
monochromatic
#36091C #6B1237 #9F1B52 #D3246D #E2538E

Accessibility & contrast

On white

7.63
#9F1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B52
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B52#FFFFFF#000000##FFFFFF
##9F1B521.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#605D4F
Tritanopia (blue-blind)
#AD0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1b52;
/* rgb */ color: rgb(159, 27, 82);
/* oklch */ color: oklch(46.6% 0.170 2.2);
Tailwind
colors: {
  custom: {
    50: '#c16882',
    500: '#9f1b52',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b52;
$custom-light: #c16882;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b52",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 335,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.16961,
    "h": 2.2
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#9F1B52
secondary
#51C595
accent
#EEA33A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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