#9D2047#9D2047

#9D2047 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.161 H 8.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9D2047
RGBrgb(157, 32, 71)
HSLhsl(341, 66%, 37%)
HSVhsv(341, 80%, 62%)
CMYKcmyk(0%, 79.6%, 54.8%, 38.4%)
CIE-LABlab(35.32, 52.32, 9.08)
CIE-LCHlch(35.32, 53.11, 9.85°)
OKLaboklab(46.32% 0.1593 0.0232)
OKLCHoklch(46.32% 0.161 8.3)
XYZxyz(15.5599, 8.6583, 6.8119)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2047 #209D76
analogous
#9D2086 #9D2047 #9D3820
triadic
#9D2047 #479D20 #20479D
tetradic
#9D2047 #869D20 #209D76 #38209D
square
#9D2047 #869D20 #209D76 #38209D
split-complementary
#9D2047 #209D38 #20869D
monochromatic
#370B19 #6A1630 #9D2047 #D02A5E #DD5A83

Accessibility & contrast

On white

7.69
#9D2047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2047
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2047#FFFFFF#000000##FFFFFF
##9D20471.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2047;
/* rgb */ color: rgb(157, 32, 71);
/* oklch */ color: oklch(46.3% 0.161 8.3);
Tailwind
colors: {
  custom: {
    50: '#c06979',
    500: '#9d2047',
    950: '#000000',
  },
}
SCSS
$custom: #9d2047;
$custom-light: #c06979;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2047",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 341.28,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46317,
    "c": 0.16095,
    "h": 8.3
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#9D2047
secondary
#57C1A0
accent
#E9B43F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D2047

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

Preview Lab → · Contrast checker → · Palette generator →

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