#9F183F#9F183F

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

Color values

HEX#9F183F
RGBrgb(159, 24, 63)
HSLhsl(343, 74%, 36%)
HSVhsv(343, 85%, 62%)
CMYKcmyk(0%, 84.9%, 60.4%, 37.6%)
CIE-LABlab(34.77, 54.46, 13.60)
CIE-LCHlch(34.77, 56.13, 14.02°)
OKLaboklab(45.93% 0.1646 0.0337)
OKLCHoklch(45.93% 0.168 11.6)
XYZxyz(15.5235, 8.3854, 5.5028)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F183F #189F78
analogous
#9F1882 #9F183F #9F3518
triadic
#9F183F #3F9F18 #183F9F
tetradic
#9F183F #829F18 #189F78 #35189F
square
#9F183F #829F18 #189F78 #35189F
split-complementary
#9F183F #189F35 #18829F
monochromatic
#350815 #6A102A #9F183F #D42054 #E44D79

Accessibility & contrast

On white

7.85
#9F183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F183F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F183F#FFFFFF#000000##FFFFFF
##9F183F1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f183f;
/* rgb */ color: rgb(159, 24, 63);
/* oklch */ color: oklch(45.9% 0.168 11.6);
Tailwind
colors: {
  custom: {
    50: '#c26673',
    500: '#9f183f',
    950: '#000000',
  },
}
SCSS
$custom: #9f183f;
$custom-light: #c26673;
$custom-dark: #000000;
JSON
{
  "hex": "#9f183f",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 342.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.16805,
    "h": 11.6
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#9F183F
secondary
#4DC6A3
accent
#F0BB37
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F183F

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

Preview Lab → · Contrast checker → · Palette generator →

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