#9D3151#9D3151

#9D3151 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.2% C 0.144 H 6.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D3151
RGBrgb(157, 49, 81)
HSLhsl(342, 52%, 40%)
HSVhsv(342, 69%, 62%)
CMYKcmyk(0%, 68.8%, 48.4%, 38.4%)
CIE-LABlab(37.77, 47.09, 6.12)
CIE-LCHlch(37.77, 47.48, 7.40°)
OKLaboklab(48.22% 0.1436 0.0161)
OKLCHoklch(48.22% 0.144 6.4)
XYZxyz(16.4895, 9.9609, 8.8373)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3151 #319D7D
analogous
#9D3187 #9D3151 #9D4731
triadic
#9D3151 #519D31 #31519D
tetradic
#9D3151 #879D31 #319D7D #47319D
square
#9D3151 #879D31 #319D7D #47319D
split-complementary
#9D3151 #319D47 #31879D
monochromatic
#401421 #6E2239 #9D3151 #C5466C #D47591

Accessibility & contrast

On white

7.02
#9D3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D3151
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3151#FFFFFF#000000##FFFFFF
##9D31511.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B52
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#AB203E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d3151;
/* rgb */ color: rgb(157, 49, 81);
/* oklch */ color: oklch(48.2% 0.144 6.4);
Tailwind
colors: {
  custom: {
    50: '#bf7181',
    500: '#9d3151',
    950: '#000000',
  },
}
SCSS
$custom: #9d3151;
$custom-light: #bf7181;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3151",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 342.222,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.14445,
    "h": 6.4
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#9D3151
secondary
#6EBCA5
accent
#DCB14C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9D3151

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

Preview Lab → · Contrast checker → · Palette generator →

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