#9F1852#9F1852

#9F1852 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.172 H 1.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9F1852
RGBrgb(159, 24, 82)
HSLhsl(334, 74%, 36%)
HSVhsv(334, 85%, 62%)
CMYKcmyk(0%, 84.9%, 48.4%, 37.6%)
CIE-LABlab(35.27, 55.93, 1.94)
CIE-LCHlch(35.27, 55.96, 1.99°)
OKLaboklab(46.46% 0.1719 0.0056)
OKLCHoklch(46.46% 0.172 1.9)
XYZxyz(16.1491, 8.6357, 8.7975)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1852 #189F65
analogous
#9F1895 #9F1852 #9F2118
triadic
#9F1852 #529F18 #18529F
tetradic
#9F1852 #959F18 #189F65 #21189F
square
#9F1852 #959F18 #189F65 #21189F
split-complementary
#9F1852 #189F21 #18959F
monochromatic
#35081B #6A1037 #9F1852 #D4206D #E44D8E

Accessibility & contrast

On white

7.70
#9F1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1852
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1852#FFFFFF#000000##FFFFFF
##9F18521.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1852;
/* rgb */ color: rgb(159, 24, 82);
/* oklch */ color: oklch(46.5% 0.172 1.9);
Tailwind
colors: {
  custom: {
    50: '#c16782',
    500: '#9f1852',
    950: '#000000',
  },
}
SCSS
$custom: #9f1852;
$custom-light: #c16782;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1852",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 334.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.17196,
    "h": 1.9
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#9F1852
secondary
#4DC692
accent
#F0A137
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1852

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

Preview Lab → · Contrast checker → · Palette generator →

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