#9F1C52#9F1C52

#9F1C52 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.169 H 2.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9F1C52
RGBrgb(159, 28, 82)
HSLhsl(335, 70%, 37%)
HSVhsv(335, 82%, 62%)
CMYKcmyk(0%, 82.4%, 48.4%, 37.6%)
CIE-LABlab(35.62, 54.93, 2.44)
CIE-LCHlch(35.62, 54.99, 2.55°)
OKLaboklab(46.71% 0.1687 0.0068)
OKLCHoklch(46.71% 0.169 2.3)
XYZxyz(16.2377, 8.8129, 8.8270)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C52 #1C9F69
analogous
#9F1C94 #9F1C52 #9F281C
triadic
#9F1C52 #529F1C #1C529F
tetradic
#9F1C52 #949F1C #1C9F69 #281C9F
square
#9F1C52 #949F1C #1C9F69 #281C9F
split-complementary
#9F1C52 #1C9F28 #1C949F
monochromatic
#370A1C #6B1337 #9F1C52 #D3256D #E1548E

Accessibility & contrast

On white

7.60
#9F1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F1C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C52
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C52#FFFFFF#000000##FFFFFF
##9F1C521.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1c52;
/* rgb */ color: rgb(159, 28, 82);
/* oklch */ color: oklch(46.7% 0.169 2.3);
Tailwind
colors: {
  custom: {
    50: '#c16882',
    500: '#9f1c52',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c52;
$custom-light: #c16882;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c52",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 335.267,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4671,
    "c": 0.16879,
    "h": 2.3
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#9F1C52
secondary
#53C495
accent
#EDA43B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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