#9D1851#9D1851

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

Color values

HEX#9D1851
RGBrgb(157, 24, 81)
HSLhsl(334, 73%, 35%)
HSVhsv(334, 85%, 62%)
CMYKcmyk(0%, 84.7%, 48.4%, 38.4%)
CIE-LABlab(34.84, 55.31, 1.91)
CIE-LCHlch(34.84, 55.35, 1.97°)
OKLaboklab(46.06% 0.17 0.0055)
OKLCHoklch(46.06% 0.17 1.8)
XYZxyz(15.7178, 8.4177, 8.5801)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1851 #189D64
analogous
#9D1893 #9D1851 #9D2218
triadic
#9D1851 #519D18 #18519D
tetradic
#9D1851 #939D18 #189D64 #22189D
square
#9D1851 #939D18 #189D64 #22189D
split-complementary
#9D1851 #189D22 #18939D
monochromatic
#33081A #681036 #9D1851 #D2206C #E44C8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1851#FFFFFF#000000##FFFFFF
##9D18511.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)
#3B4252
Deuteranopia (green-blind)
#5E5B4E
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1851;
/* rgb */ color: rgb(157, 24, 81);
/* oklch */ color: oklch(46.1% 0.170 1.8);
Tailwind
colors: {
  custom: {
    50: '#c06681',
    500: '#9d1851',
    950: '#000000',
  },
}
SCSS
$custom: #9d1851;
$custom-light: #c06681;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1851",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 334.286,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.17007,
    "h": 1.8
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#9D1851
secondary
#4BC591
accent
#F0A138
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1851

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

Preview Lab → · Contrast checker → · Palette generator →

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