#9F1A52#9F1A52

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

Color values

HEX#9F1A52
RGBrgb(159, 26, 82)
HSLhsl(335, 72%, 36%)
HSVhsv(335, 84%, 62%)
CMYKcmyk(0%, 83.6%, 48.4%, 37.6%)
CIE-LABlab(35.44, 55.44, 2.18)
CIE-LCHlch(35.44, 55.49, 2.26°)
OKLaboklab(46.58% 0.1703 0.0062)
OKLCHoklch(46.58% 0.17 2.1)
XYZxyz(16.1919, 8.7212, 8.8117)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A52 #1A9F67
analogous
#9F1A95 #9F1A52 #9F251A
triadic
#9F1A52 #529F1A #1A529F
tetradic
#9F1A52 #959F1A #1A9F67 #251A9F
square
#9F1A52 #959F1A #1A9F67 #251A9F
split-complementary
#9F1A52 #1A9F25 #1A959F
monochromatic
#36091C #6A1137 #9F1A52 #D4236D #E3518E

Accessibility & contrast

On white

7.65
#9F1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A52
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A52#FFFFFF#000000##FFFFFF
##9F1A521.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1a52;
/* rgb */ color: rgb(159, 26, 82);
/* oklch */ color: oklch(46.6% 0.170 2.1);
Tailwind
colors: {
  custom: {
    50: '#c16782',
    500: '#9f1a52',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a52;
$custom-light: #c16782;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a52",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 334.737,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46578,
    "c": 0.17041,
    "h": 2.1
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#9F1A52
secondary
#50C594
accent
#EFA239
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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