#9D2282#9D2282

#9D2282 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.186 H 338.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9D2282
RGBrgb(157, 34, 130)
HSLhsl(313, 64%, 37%)
HSVhsv(313, 78%, 62%)
CMYKcmyk(0%, 78.3%, 17.2%, 38.4%)
CIE-LABlab(37.71, 58.30, -24.86)
CIE-LCHlch(37.71, 63.37, 336.91°)
OKLaboklab(48.77% 0.1732 -0.0674)
OKLCHoklch(48.77% 0.186 338.7)
XYZxyz(18.5064, 9.9257, 22.0560)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2282 #229D3D
analogous
#7B229D #9D2282 #9D2244
triadic
#9D2282 #829D22 #22829D
tetradic
#9D2282 #9D7B22 #229D3D #22449D
square
#9D2282 #9D7B22 #229D3D #22449D
split-complementary
#9D2282 #449D22 #229D7B
monochromatic
#380C2F #6B1758 #9D2282 #CF2DAC #DC5DC0

Accessibility & contrast

On white

7.04
#9D2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2282
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2282#FFFFFF#000000##FFFFFF
##9D22821.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#53607F
Tritanopia (blue-blind)
#A62850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2282;
/* rgb */ color: rgb(157, 34, 130);
/* oklch */ color: oklch(48.8% 0.186 338.7);
Tailwind
colors: {
  custom: {
    50: '#be6ca6',
    500: '#9d2282',
    950: '#000000',
  },
}
SCSS
$custom: #9d2282;
$custom-light: #be6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2282",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 313.171,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.18586,
    "h": 338.7
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#9D2282
secondary
#5AC171
accent
#E76540
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D2282

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

Preview Lab → · Contrast checker → · Palette generator →

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