#9F1F58#9F1F58

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

Color values

HEX#9F1F58
RGBrgb(159, 31, 88)
HSLhsl(333, 67%, 37%)
HSVhsv(333, 81%, 62%)
CMYKcmyk(0%, 80.5%, 44.7%, 37.6%)
CIE-LABlab(36.10, 54.66, -0.74)
CIE-LCHlch(36.10, 54.67, 359.23°)
OKLaboklab(47.12% 0.1681 -0.0013)
OKLCHoklch(47.12% 0.168 359.6)
XYZxyz(16.5508, 9.0577, 10.1074)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F58 #1F9F66
analogous
#9F1F98 #9F1F58 #9F261F
triadic
#9F1F58 #589F1F #1F589F
tetradic
#9F1F58 #989F1F #1F9F66 #261F9F
square
#9F1F58 #989F1F #1F9F66 #261F9F
split-complementary
#9F1F58 #1F9F26 #1F989F
monochromatic
#390B1F #6C153C #9F1F58 #D22974 #DF5A95

Accessibility & contrast

On white

7.47
#9F1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F58
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F58#FFFFFF#000000##FFFFFF
##9F1F581.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4559
Deuteranopia (green-blind)
#605E55
Tritanopia (blue-blind)
#AD0039
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1f58;
/* rgb */ color: rgb(159, 31, 88);
/* oklch */ color: oklch(47.1% 0.168 359.6);
Tailwind
colors: {
  custom: {
    50: '#c16987',
    500: '#9f1f58',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f58;
$custom-light: #c16987;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f58",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 333.281,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47117,
    "c": 0.16808,
    "h": 359.6
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#9F1F58
secondary
#57C393
accent
#EA9D3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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