#9D1852#9D1852

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

Color values

HEX#9D1852
RGBrgb(157, 24, 82)
HSLhsl(334, 73%, 35%)
HSVhsv(334, 85%, 62%)
CMYKcmyk(0%, 84.7%, 47.8%, 38.4%)
CIE-LABlab(34.87, 55.40, 1.30)
CIE-LCHlch(34.87, 55.42, 1.35°)
OKLaboklab(46.09% 0.1703 0.0039)
OKLCHoklch(46.09% 0.17 1.3)
XYZxyz(15.7556, 8.4328, 8.7790)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1852 #189D63
analogous
#9D1894 #9D1852 #9D2118
triadic
#9D1852 #529D18 #18529D
tetradic
#9D1852 #949D18 #189D63 #21189D
square
#9D1852 #949D18 #189D63 #21189D
split-complementary
#9D1852 #189D21 #18949D
monochromatic
#33081B #681036 #9D1852 #D2206E #E44C8E

Accessibility & contrast

On white

7.82
#9D1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1852
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1852#FFFFFF#000000##FFFFFF
##9D18521.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1852;
/* rgb */ color: rgb(157, 24, 82);
/* oklch */ color: oklch(46.1% 0.170 1.3);
Tailwind
colors: {
  custom: {
    50: '#c06682',
    500: '#9d1852',
    950: '#000000',
  },
}
SCSS
$custom: #9d1852;
$custom-light: #c06682;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1852",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 333.835,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.17038,
    "h": 1.3
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#9D1852
secondary
#4BC590
accent
#F0A038
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1852

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

Preview Lab → · Contrast checker → · Palette generator →

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