#9D2066#9D2066

#9D2066 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 351.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9D2066
RGBrgb(157, 32, 102)
HSLhsl(326, 66%, 37%)
HSVhsv(326, 80%, 62%)
CMYKcmyk(0%, 79.6%, 35%, 38.4%)
CIE-LABlab(36.30, 55.31, -9.44)
CIE-LCHlch(36.30, 56.11, 350.31°)
OKLaboklab(47.35% 0.1697 -0.0244)
OKLCHoklch(47.35% 0.171 351.8)
XYZxyz(16.8204, 9.1625, 13.4506)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2066 #209D57
analogous
#96209D #9D2066 #9D2027
triadic
#9D2066 #669D20 #20669D
tetradic
#9D2066 #9D9620 #209D57 #20279D
square
#9D2066 #9D9620 #209D57 #20279D
split-complementary
#9D2066 #279D20 #209D96
monochromatic
#370B24 #6A1645 #9D2066 #D02A87 #DD5AA4

Accessibility & contrast

On white

7.42
#9D2066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9D2066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2066
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2066#FFFFFF#000000##FFFFFF
##9D20661.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#5C5D63
Tritanopia (blue-blind)
#A91340
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2066;
/* rgb */ color: rgb(157, 32, 102);
/* oklch */ color: oklch(47.4% 0.171 351.8);
Tailwind
colors: {
  custom: {
    50: '#bf6a91',
    500: '#9d2066',
    950: '#000000',
  },
}
SCSS
$custom: #9d2066;
$custom-light: #bf6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2066",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 326.4,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47352,
    "c": 0.17144,
    "h": 351.8
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#9D2066
secondary
#57C186
accent
#E98A3F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D2066

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

Preview Lab → · Contrast checker → · Palette generator →

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