#9F1842#9F1842

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

Color values

HEX#9F1842
RGBrgb(159, 24, 66)
HSLhsl(341, 74%, 36%)
HSVhsv(341, 85%, 62%)
CMYKcmyk(0%, 84.9%, 58.5%, 37.6%)
CIE-LABlab(34.84, 54.67, 11.74)
CIE-LCHlch(34.84, 55.91, 12.12°)
OKLaboklab(46% 0.1658 0.0294)
OKLCHoklch(46% 0.168 10.1)
XYZxyz(15.6097, 8.4199, 5.9565)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1842 #189F75
analogous
#9F1885 #9F1842 #9F3118
triadic
#9F1842 #429F18 #18429F
tetradic
#9F1842 #859F18 #189F75 #31189F
square
#9F1842 #859F18 #189F75 #31189F
split-complementary
#9F1842 #189F31 #18859F
monochromatic
#350816 #6A102C #9F1842 #D42058 #E44D7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1842#FFFFFF#000000##FFFFFF
##9F18421.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)
#404143
Deuteranopia (green-blind)
#625C3F
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1842;
/* rgb */ color: rgb(159, 24, 66);
/* oklch */ color: oklch(46.0% 0.168 10.1);
Tailwind
colors: {
  custom: {
    50: '#c26676',
    500: '#9f1842',
    950: '#000000',
  },
}
SCSS
$custom: #9f1842;
$custom-light: #c26676;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1842",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 341.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45999,
    "c": 0.16843,
    "h": 10.1
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#9F1842
secondary
#4DC6A0
accent
#F0B737
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1842

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

Preview Lab → · Contrast checker → · Palette generator →

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