#9D2268#9D2268

#9D2268 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.170 H 351.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D2268
RGBrgb(157, 34, 104)
HSLhsl(326, 64%, 37%)
HSVhsv(326, 78%, 62%)
CMYKcmyk(0%, 78.3%, 33.8%, 38.4%)
CIE-LABlab(36.58, 54.94, -10.28)
CIE-LCHlch(36.58, 55.89, 349.40°)
OKLaboklab(47.59% 0.1683 -0.0267)
OKLCHoklch(47.59% 0.17 351)
XYZxyz(16.9763, 9.3137, 13.9977)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2268 #229D57
analogous
#95229D #9D2268 #9D222A
triadic
#9D2268 #689D22 #22689D
tetradic
#9D2268 #9D9522 #229D57 #222A9D
square
#9D2268 #9D9522 #229D57 #222A9D
split-complementary
#9D2268 #2A9D22 #229D95
monochromatic
#380C25 #6B1747 #9D2268 #CF2D89 #DC5DA5

Accessibility & contrast

On white

7.34
#9D2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2268
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2268#FFFFFF#000000##FFFFFF
##9D22681.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38486A
Deuteranopia (green-blind)
#5C5E65
Tritanopia (blue-blind)
#A91842
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2268;
/* rgb */ color: rgb(157, 34, 104);
/* oklch */ color: oklch(47.6% 0.170 351.0);
Tailwind
colors: {
  custom: {
    50: '#be6b93',
    500: '#9d2268',
    950: '#000000',
  },
}
SCSS
$custom: #9d2268;
$custom-light: #be6b93;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2268",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 325.854,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.17043,
    "h": 351
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#9D2268
secondary
#5AC186
accent
#E78840
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D2268

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

Preview Lab → · Contrast checker → · Palette generator →

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