#9F1F57#9F1F57

#9F1F57 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.168 H 0.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9F1F57
RGBrgb(159, 31, 87)
HSLhsl(334, 67%, 37%)
HSVhsv(334, 81%, 62%)
CMYKcmyk(0%, 80.5%, 45.3%, 37.6%)
CIE-LABlab(36.06, 54.57, -0.14)
CIE-LCHlch(36.06, 54.57, 359.85°)
OKLaboklab(47.08% 0.1677 0.0002)
OKLCHoklch(47.08% 0.168 0.1)
XYZxyz(16.5097, 9.0412, 9.8907)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F57 #1F9F67
analogous
#9F1F97 #9F1F57 #9F271F
triadic
#9F1F57 #579F1F #1F579F
tetradic
#9F1F57 #979F1F #1F9F67 #271F9F
square
#9F1F57 #979F1F #1F9F67 #271F9F
split-complementary
#9F1F57 #1F9F27 #1F979F
monochromatic
#390B1F #6C153B #9F1F57 #D22973 #DF5A94

Accessibility & contrast

On white

7.48
#9F1F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F1F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F57
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F57#FFFFFF#000000##FFFFFF
##9F1F571.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4558
Deuteranopia (green-blind)
#605E54
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1f57;
/* rgb */ color: rgb(159, 31, 87);
/* oklch */ color: oklch(47.1% 0.168 0.1);
Tailwind
colors: {
  custom: {
    50: '#c16986',
    500: '#9f1f57',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f57;
$custom-light: #c16986;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f57",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 333.75,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47084,
    "c": 0.16773,
    "h": 0.1
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#9F1F57
secondary
#57C394
accent
#EA9F3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1F57

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

Preview Lab → · Contrast checker → · Palette generator →

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