#9D2256#9D2256

#9D2256 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.163 H 0.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9D2256
RGBrgb(157, 34, 86)
HSLhsl(335, 64%, 37%)
HSVhsv(335, 78%, 62%)
CMYKcmyk(0%, 78.3%, 45.2%, 38.4%)
CIE-LABlab(35.96, 53.03, 0.30)
CIE-LCHlch(35.96, 53.03, 0.33°)
OKLaboklab(46.93% 0.1629 0.0014)
OKLCHoklch(46.93% 0.163 0.5)
XYZxyz(16.1577, 8.9862, 9.6860)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2256 #229D69
analogous
#9D2294 #9D2256 #9D2B22
triadic
#9D2256 #569D22 #22569D
tetradic
#9D2256 #949D22 #229D69 #2B229D
square
#9D2256 #949D22 #229D69 #2B229D
split-complementary
#9D2256 #229D2B #22949D
monochromatic
#380C1F #6B173A #9D2256 #CF2D72 #DC5D93

Accessibility & contrast

On white

7.51
#9D2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9D2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2256
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2256#FFFFFF#000000##FFFFFF
##9D22561.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4657
Deuteranopia (green-blind)
#605D53
Tritanopia (blue-blind)
#AB0739
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2256;
/* rgb */ color: rgb(157, 34, 86);
/* oklch */ color: oklch(46.9% 0.163 0.5);
Tailwind
colors: {
  custom: {
    50: '#bf6a85',
    500: '#9d2256',
    950: '#000000',
  },
}
SCSS
$custom: #9d2256;
$custom-light: #bf6a85;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2256",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 334.634,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46925,
    "c": 0.16286,
    "h": 0.5
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#9D2256
secondary
#5AC195
accent
#E7A140
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2256

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

Preview Lab → · Contrast checker → · Palette generator →

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