#9D2288#9D2288

#9D2288 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.190 H 336.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D2288
RGBrgb(157, 34, 136)
HSLhsl(310, 64%, 37%)
HSVhsv(310, 78%, 62%)
CMYKcmyk(0%, 78.3%, 13.4%, 38.4%)
CIE-LABlab(38.01, 59.16, -28.10)
CIE-LCHlch(38.01, 65.50, 334.59°)
OKLaboklab(49.08% 0.1738 -0.0767)
OKLCHoklch(49.08% 0.19 336.2)
XYZxyz(18.9209, 10.0915, 24.2391)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2288 #229D37
analogous
#75229D #9D2288 #9D224A
triadic
#9D2288 #889D22 #22889D
tetradic
#9D2288 #9D7522 #229D37 #224A9D
square
#9D2288 #9D7522 #229D37 #224A9D
split-complementary
#9D2288 #4A9D22 #229D75
monochromatic
#380C31 #6B175C #9D2288 #CF2DB4 #DC5DC6

Accessibility & contrast

On white

6.96
#9D2288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D2288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2288
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2288#FFFFFF#000000##FFFFFF
##9D22881.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#516085
Tritanopia (blue-blind)
#A52C53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2288;
/* rgb */ color: rgb(157, 34, 136);
/* oklch */ color: oklch(49.1% 0.190 336.2);
Tailwind
colors: {
  custom: {
    50: '#be6cab',
    500: '#9d2288',
    950: '#000000',
  },
}
SCSS
$custom: #9d2288;
$custom-light: #be6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2288",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 310.244,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49081,
    "c": 0.18995,
    "h": 336.2
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#9D2288
secondary
#5AC16C
accent
#E75D40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2288

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

Preview Lab → · Contrast checker → · Palette generator →

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