#9D2181#9D2181

#9D2181 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.186 H 339.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9D2181
RGBrgb(157, 33, 129)
HSLhsl(314, 65%, 37%)
HSVhsv(314, 79%, 62%)
CMYKcmyk(0%, 79%, 17.8%, 38.4%)
CIE-LABlab(37.56, 58.45, -24.47)
CIE-LCHlch(37.56, 63.36, 337.28°)
OKLaboklab(48.65% 0.174 -0.0663)
OKLCHoklch(48.65% 0.186 339.1)
XYZxyz(18.4114, 9.8426, 21.6948)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2181 #219D3D
analogous
#7B219D #9D2181 #9D2143
triadic
#9D2181 #819D21 #21819D
tetradic
#9D2181 #9D7B21 #219D3D #21439D
square
#9D2181 #9D7B21 #219D3D #21439D
split-complementary
#9D2181 #439D21 #219D7B
monochromatic
#380C2E #6A1657 #9D2181 #D02CAB #DD5CC0

Accessibility & contrast

On white

7.07
#9D2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2181
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2181#FFFFFF#000000##FFFFFF
##9D21811.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C84
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#A6274F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2181;
/* rgb */ color: rgb(157, 33, 129);
/* oklch */ color: oklch(48.6% 0.186 339.1);
Tailwind
colors: {
  custom: {
    50: '#be6ba6',
    500: '#9d2181',
    950: '#000000',
  },
}
SCSS
$custom: #9d2181;
$custom-light: #be6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2181",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 313.548,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.18618,
    "h": 339.1
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#9D2181
secondary
#59C170
accent
#E86640
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D2181

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

Preview Lab → · Contrast checker → · Palette generator →

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