#9F1F53#9F1F53

#9F1F53 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.166 H 2.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9F1F53
RGBrgb(159, 31, 83)
HSLhsl(336, 67%, 37%)
HSVhsv(336, 81%, 62%)
CMYKcmyk(0%, 80.5%, 47.8%, 37.6%)
CIE-LABlab(35.94, 54.20, 2.26)
CIE-LCHlch(35.94, 54.24, 2.39°)
OKLaboklab(46.95% 0.1663 0.0064)
OKLCHoklch(46.95% 0.166 2.2)
XYZxyz(16.3508, 8.9777, 9.0538)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F53 #1F9F6B
analogous
#9F1F93 #9F1F53 #9F2B1F
triadic
#9F1F53 #539F1F #1F539F
tetradic
#9F1F53 #939F1F #1F9F6B #2B1F9F
square
#9F1F53 #939F1F #1F9F6B #2B1F9F
split-complementary
#9F1F53 #1F9F2B #1F939F
monochromatic
#390B1E #6C1538 #9F1F53 #D2296E #DF5A90

Accessibility & contrast

On white

7.51
#9F1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F53
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F53#FFFFFF#000000##FFFFFF
##9F1F531.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4554
Deuteranopia (green-blind)
#615D50
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1f53;
/* rgb */ color: rgb(159, 31, 83);
/* oklch */ color: oklch(47.0% 0.166 2.2);
Tailwind
colors: {
  custom: {
    50: '#c16983',
    500: '#9f1f53',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f53;
$custom-light: #c16983;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f53",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 335.625,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.16646,
    "h": 2.2
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#9F1F53
secondary
#57C397
accent
#EAA43E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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