#9D2045#9D2045

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

Color values

HEX#9D2045
RGBrgb(157, 32, 69)
HSLhsl(342, 66%, 37%)
HSVhsv(342, 80%, 62%)
CMYKcmyk(0%, 79.6%, 56.1%, 38.4%)
CIE-LABlab(35.27, 52.17, 10.31)
CIE-LCHlch(35.27, 53.18, 11.18°)
OKLaboklab(46.26% 0.1585 0.0261)
OKLCHoklch(46.26% 0.161 9.4)
XYZxyz(15.4968, 8.6330, 6.4794)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2045 #209D78
analogous
#9D2084 #9D2045 #9D3A20
triadic
#9D2045 #459D20 #20459D
tetradic
#9D2045 #849D20 #209D78 #3A209D
square
#9D2045 #849D20 #209D78 #3A209D
split-complementary
#9D2045 #209D3A #20849D
monochromatic
#370B18 #6A162F #9D2045 #D02A5B #DD5A81

Accessibility & contrast

On white

7.70
#9D2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2045
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2045#FFFFFF#000000##FFFFFF
##9D20451.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424346
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AC0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d2045;
/* rgb */ color: rgb(157, 32, 69);
/* oklch */ color: oklch(46.3% 0.161 9.4);
Tailwind
colors: {
  custom: {
    50: '#c06978',
    500: '#9d2045',
    950: '#000000',
  },
}
SCSS
$custom: #9d2045;
$custom-light: #c06978;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2045",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 342.24,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.16063,
    "h": 9.4
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#9D2045
secondary
#57C1A2
accent
#E9B73F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9D2045

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

Preview Lab → · Contrast checker → · Palette generator →

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