#9F183A#9F183A

#9F183A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.168 H 14.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9F183A
RGBrgb(159, 24, 58)
HSLhsl(345, 74%, 36%)
HSVhsv(345, 85%, 62%)
CMYKcmyk(0%, 84.9%, 63.5%, 37.6%)
CIE-LABlab(34.67, 54.14, 16.70)
CIE-LCHlch(34.67, 56.66, 17.14°)
OKLaboklab(45.81% 0.1626 0.0406)
OKLCHoklch(45.81% 0.168 14)
XYZxyz(15.3901, 8.3321, 4.8001)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F183A #189F7D
analogous
#9F187D #9F183A #9F3918
triadic
#9F183A #3A9F18 #183A9F
tetradic
#9F183A #7D9F18 #189F7D #39189F
square
#9F183A #7D9F18 #189F7D #39189F
split-complementary
#9F183A #189F39 #187D9F
monochromatic
#350813 #6A1027 #9F183A #D4204D #E44D73

Accessibility & contrast

On white

7.88
#9F183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F183A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F183A#FFFFFF#000000##FFFFFF
##9F183A1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42403A
Deuteranopia (green-blind)
#635B36
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f183a;
/* rgb */ color: rgb(159, 24, 58);
/* oklch */ color: oklch(45.8% 0.168 14.0);
Tailwind
colors: {
  custom: {
    50: '#c3666f',
    500: '#9f183a',
    950: '#000000',
  },
}
SCSS
$custom: #9f183a;
$custom-light: #c3666f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f183a",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 344.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45811,
    "c": 0.16762,
    "h": 14
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#9F183A
secondary
#4DC6A8
accent
#F0C237
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F183A

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

Preview Lab → · Contrast checker → · Palette generator →

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