#9D2147#9D2147

#9D2147 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 8.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9D2147
RGBrgb(157, 33, 71)
HSLhsl(342, 65%, 37%)
HSVhsv(342, 79%, 62%)
CMYKcmyk(0%, 79%, 54.8%, 38.4%)
CIE-LABlab(35.43, 52.02, 9.23)
CIE-LCHlch(35.43, 52.83, 10.07°)
OKLaboklab(46.4% 0.1583 0.0236)
OKLCHoklch(46.4% 0.16 8.5)
XYZxyz(15.5873, 8.7130, 6.8210)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2147 #219D77
analogous
#9D2185 #9D2147 #9D3921
triadic
#9D2147 #479D21 #21479D
tetradic
#9D2147 #859D21 #219D77 #39219D
square
#9D2147 #859D21 #219D77 #39219D
split-complementary
#9D2147 #219D39 #21859D
monochromatic
#380C19 #6A1630 #9D2147 #D02C5E #DD5C83

Accessibility & contrast

On white

7.66
#9D2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9D2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2147
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2147#FFFFFF#000000##FFFFFF
##9D21471.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424348
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d2147;
/* rgb */ color: rgb(157, 33, 71);
/* oklch */ color: oklch(46.4% 0.160 8.5);
Tailwind
colors: {
  custom: {
    50: '#c06979',
    500: '#9d2147',
    950: '#000000',
  },
}
SCSS
$custom: #9d2147;
$custom-light: #c06979;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2147",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 341.613,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.16003,
    "h": 8.5
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#9D2147
secondary
#59C1A1
accent
#E8B540
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D2147

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

Preview Lab → · Contrast checker → · Palette generator →

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