#9D2286#9D2286

#9D2286 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 49.0% C 0.189 H 337.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9D2286
RGBrgb(157, 34, 134)
HSLhsl(311, 64%, 37%)
HSVhsv(311, 78%, 62%)
CMYKcmyk(0%, 78.3%, 14.6%, 38.4%)
CIE-LABlab(37.91, 58.87, -27.02)
CIE-LCHlch(37.91, 64.78, 335.34°)
OKLaboklab(48.98% 0.1736 -0.0736)
OKLCHoklch(48.98% 0.189 337)
XYZxyz(18.7801, 10.0352, 23.4976)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2286 #229D39
analogous
#77229D #9D2286 #9D2248
triadic
#9D2286 #869D22 #22869D
tetradic
#9D2286 #9D7722 #229D39 #22489D
square
#9D2286 #9D7722 #229D39 #22489D
split-complementary
#9D2286 #489D22 #229D77
monochromatic
#380C30 #6B175B #9D2286 #CF2DB1 #DC5DC4

Accessibility & contrast

On white

6.98
#9D2286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D2286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2286
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2286#FFFFFF#000000##FFFFFF
##9D22861.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D89
Deuteranopia (green-blind)
#516083
Tritanopia (blue-blind)
#A62A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2286;
/* rgb */ color: rgb(157, 34, 134);
/* oklch */ color: oklch(49.0% 0.189 337.0);
Tailwind
colors: {
  custom: {
    50: '#be6ca9',
    500: '#9d2286',
    950: '#000000',
  },
}
SCSS
$custom: #9d2286;
$custom-light: #be6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2286",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 311.22,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48976,
    "c": 0.18857,
    "h": 337
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#9D2286
secondary
#5AC16D
accent
#E76040
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2286

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

Preview Lab → · Contrast checker → · Palette generator →

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