#9D2283#9D2283

#9D2283 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.187 H 338.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D2283
RGBrgb(157, 34, 131)
HSLhsl(313, 64%, 37%)
HSVhsv(313, 78%, 62%)
CMYKcmyk(0%, 78.3%, 16.6%, 38.4%)
CIE-LABlab(37.76, 58.44, -25.40)
CIE-LCHlch(37.76, 63.72, 336.51°)
OKLaboklab(48.82% 0.1733 -0.0689)
OKLCHoklch(48.82% 0.187 338.3)
XYZxyz(18.5738, 9.9527, 22.4112)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2283 #229D3C
analogous
#7A229D #9D2283 #9D2245
triadic
#9D2283 #839D22 #22839D
tetradic
#9D2283 #9D7A22 #229D3C #22459D
square
#9D2283 #9D7A22 #229D3C #22459D
split-complementary
#9D2283 #459D22 #229D7A
monochromatic
#380C2F #6B1759 #9D2283 #CF2DAD #DC5DC1

Accessibility & contrast

On white

7.02
#9D2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2283
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2283#FFFFFF#000000##FFFFFF
##9D22831.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#536080
Tritanopia (blue-blind)
#A62951
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2283;
/* rgb */ color: rgb(157, 34, 131);
/* oklch */ color: oklch(48.8% 0.187 338.3);
Tailwind
colors: {
  custom: {
    50: '#be6ca7',
    500: '#9d2283',
    950: '#000000',
  },
}
SCSS
$custom: #9d2283;
$custom-light: #be6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2283",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 312.683,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.18653,
    "h": 338.3
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#9D2283
secondary
#5AC170
accent
#E76440
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D2283

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

Preview Lab → · Contrast checker → · Palette generator →

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