#9F1840#9F1840

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

Color values

HEX#9F1840
RGBrgb(159, 24, 64)
HSLhsl(342, 74%, 36%)
HSVhsv(342, 85%, 62%)
CMYKcmyk(0%, 84.9%, 59.7%, 37.6%)
CIE-LABlab(34.80, 54.53, 12.98)
CIE-LCHlch(34.80, 56.05, 13.39°)
OKLaboklab(45.95% 0.165 0.0323)
OKLCHoklch(45.95% 0.168 11.1)
XYZxyz(15.5517, 8.3967, 5.6513)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1840 #189F77
analogous
#9F1883 #9F1840 #9F3318
triadic
#9F1840 #409F18 #18409F
tetradic
#9F1840 #839F18 #189F77 #33189F
square
#9F1840 #839F18 #189F77 #33189F
split-complementary
#9F1840 #189F33 #18839F
monochromatic
#350815 #6A102B #9F1840 #D42055 #E44D7A

Accessibility & contrast

On white

7.84
#9F1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1840
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1840#FFFFFF#000000##FFFFFF
##9F18401.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#635B3D
Tritanopia (blue-blind)
#AE002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1840;
/* rgb */ color: rgb(159, 24, 64);
/* oklch */ color: oklch(45.9% 0.168 11.1);
Tailwind
colors: {
  custom: {
    50: '#c26674',
    500: '#9f1840',
    950: '#000000',
  },
}
SCSS
$custom: #9f1840;
$custom-light: #c26674;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1840",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 342.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.16816,
    "h": 11.1
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#9F1840
secondary
#4DC6A2
accent
#F0BA37
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1840

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

Preview Lab → · Contrast checker → · Palette generator →

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