#9D2266#9D2266

#9D2266 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.169 H 352.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9D2266
RGBrgb(157, 34, 102)
HSLhsl(327, 64%, 37%)
HSVhsv(327, 78%, 62%)
CMYKcmyk(0%, 78.3%, 35%, 38.4%)
CIE-LABlab(36.51, 54.71, -9.13)
CIE-LCHlch(36.51, 55.46, 350.53°)
OKLaboklab(47.51% 0.1678 -0.0236)
OKLCHoklch(47.51% 0.169 352)
XYZxyz(16.8760, 9.2735, 13.4691)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2266 #229D59
analogous
#96229D #9D2266 #9D2229
triadic
#9D2266 #669D22 #22669D
tetradic
#9D2266 #9D9622 #229D59 #22299D
square
#9D2266 #9D9622 #229D59 #22299D
split-complementary
#9D2266 #299D22 #229D96
monochromatic
#380C25 #6B1745 #9D2266 #CF2D87 #DC5DA3

Accessibility & contrast

On white

7.36
#9D2266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9D2266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2266
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2266#FFFFFF#000000##FFFFFF
##9D22661.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394868
Deuteranopia (green-blind)
#5C5E63
Tritanopia (blue-blind)
#A91641
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2266;
/* rgb */ color: rgb(157, 34, 102);
/* oklch */ color: oklch(47.5% 0.169 352.0);
Tailwind
colors: {
  custom: {
    50: '#bf6a91',
    500: '#9d2266',
    950: '#000000',
  },
}
SCSS
$custom: #9d2266;
$custom-light: #bf6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2266",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 326.829,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47505,
    "c": 0.16945,
    "h": 352
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#9D2266
secondary
#5AC188
accent
#E78B40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D2266

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

Preview Lab → · Contrast checker → · Palette generator →

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