#9D2054#9D2054

#9D2054 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.164 H 1.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9D2054
RGBrgb(157, 32, 84)
HSLhsl(335, 66%, 37%)
HSVhsv(335, 80%, 62%)
CMYKcmyk(0%, 79.6%, 46.5%, 38.4%)
CIE-LABlab(35.68, 53.44, 1.19)
CIE-LCHlch(35.68, 53.46, 1.27°)
OKLaboklab(46.7% 0.1641 0.0036)
OKLCHoklch(46.7% 0.164 1.3)
XYZxyz(16.0227, 8.8434, 9.2490)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2054 #209D69
analogous
#9D2093 #9D2054 #9D2A20
triadic
#9D2054 #549D20 #20549D
tetradic
#9D2054 #939D20 #209D69 #2A209D
square
#9D2054 #939D20 #209D69 #2A209D
split-complementary
#9D2054 #209D2A #20939D
monochromatic
#370B1E #6A1639 #9D2054 #D02A6F #DD5A91

Accessibility & contrast

On white

7.59
#9D2054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D2054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2054
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2054#FFFFFF#000000##FFFFFF
##9D20541.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4555
Deuteranopia (green-blind)
#605D51
Tritanopia (blue-blind)
#AB0037
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2054;
/* rgb */ color: rgb(157, 32, 84);
/* oklch */ color: oklch(46.7% 0.164 1.3);
Tailwind
colors: {
  custom: {
    50: '#bf6983',
    500: '#9d2054',
    950: '#000000',
  },
}
SCSS
$custom: #9d2054;
$custom-light: #bf6983;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2054",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 335.04,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.16416,
    "h": 1.3
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#9D2054
secondary
#57C195
accent
#E9A23F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2054

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

Preview Lab → · Contrast checker → · Palette generator →

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