#9F1841#9F1841

#9F1841 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 10.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9F1841
RGBrgb(159, 24, 65)
HSLhsl(342, 74%, 36%)
HSVhsv(342, 85%, 62%)
CMYKcmyk(0%, 84.9%, 59.1%, 37.6%)
CIE-LABlab(34.82, 54.60, 12.36)
CIE-LCHlch(34.82, 55.98, 12.75°)
OKLaboklab(45.97% 0.1654 0.0308)
OKLCHoklch(45.97% 0.168 10.6)
XYZxyz(15.5804, 8.4082, 5.8026)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1841 #189F76
analogous
#9F1884 #9F1841 #9F3318
triadic
#9F1841 #419F18 #18419F
tetradic
#9F1841 #849F18 #189F76 #33189F
square
#9F1841 #849F18 #189F76 #33189F
split-complementary
#9F1841 #189F33 #18849F
monochromatic
#350816 #6A102B #9F1841 #D42057 #E44D7B

Accessibility & contrast

On white

7.83
#9F1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9F1841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1841
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1841#FFFFFF#000000##FFFFFF
##9F18411.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404142
Deuteranopia (green-blind)
#625B3E
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1841;
/* rgb */ color: rgb(159, 24, 65);
/* oklch */ color: oklch(46.0% 0.168 10.6);
Tailwind
colors: {
  custom: {
    50: '#c26675',
    500: '#9f1841',
    950: '#000000',
  },
}
SCSS
$custom: #9f1841;
$custom-light: #c26675;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1841",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 341.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.16829,
    "h": 10.6
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#9F1841
secondary
#4DC6A1
accent
#F0B837
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1841

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

Preview Lab → · Contrast checker → · Palette generator →

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