#9F1F4B#9F1F4B

#9F1F4B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.164 H 6.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9F1F4B
RGBrgb(159, 31, 75)
HSLhsl(339, 67%, 37%)
HSVhsv(339, 81%, 62%)
CMYKcmyk(0%, 80.5%, 52.8%, 37.6%)
CIE-LABlab(35.72, 53.51, 7.11)
CIE-LCHlch(35.72, 53.98, 7.57°)
OKLaboklab(46.72% 0.1634 0.0184)
OKLCHoklch(46.72% 0.164 6.4)
XYZxyz(16.0595, 8.8612, 7.5200)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F4B #1F9F73
analogous
#9F1F8B #9F1F4B #9F331F
triadic
#9F1F4B #4B9F1F #1F4B9F
tetradic
#9F1F4B #8B9F1F #1F9F73 #331F9F
square
#9F1F4B #8B9F1F #1F9F73 #331F9F
split-complementary
#9F1F4B #1F9F33 #1F8B9F
monochromatic
#390B1B #6C1533 #9F1F4B #D22963 #DF5A87

Accessibility & contrast

On white

7.58
#9F1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F1F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F4B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F4B#FFFFFF#000000##FFFFFF
##9F1F4B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444C
Deuteranopia (green-blind)
#625D48
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f4b;
/* rgb */ color: rgb(159, 31, 75);
/* oklch */ color: oklch(46.7% 0.164 6.4);
Tailwind
colors: {
  custom: {
    50: '#c1697d',
    500: '#9f1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f4b;
$custom-light: #c1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f4b",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 339.375,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46715,
    "c": 0.16443,
    "h": 6.4
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#9F1F4B
secondary
#57C39E
accent
#EAAF3E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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