#9D2252#9D2252

#9D2252 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 2.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9D2252
RGBrgb(157, 34, 82)
HSLhsl(337, 64%, 37%)
HSVhsv(337, 78%, 62%)
CMYKcmyk(0%, 78.3%, 47.8%, 38.4%)
CIE-LABlab(35.84, 52.65, 2.70)
CIE-LCHlch(35.84, 52.72, 2.94°)
OKLaboklab(46.8% 0.1614 0.0075)
OKLCHoklch(46.8% 0.162 2.7)
XYZxyz(16.0010, 8.9235, 8.8608)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2252 #229D6D
analogous
#9D2290 #9D2252 #9D2F22
triadic
#9D2252 #529D22 #22529D
tetradic
#9D2252 #909D22 #229D6D #2F229D
square
#9D2252 #909D22 #229D6D #2F229D
split-complementary
#9D2252 #229D2F #22909D
monochromatic
#380C1D #6B1738 #9D2252 #CF2D6C #DC5D8F

Accessibility & contrast

On white

7.54
#9D2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9D2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2252
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2252#FFFFFF#000000##FFFFFF
##9D22521.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AB0337
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2252;
/* rgb */ color: rgb(157, 34, 82);
/* oklch */ color: oklch(46.8% 0.162 2.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a82',
    500: '#9d2252',
    950: '#000000',
  },
}
SCSS
$custom: #9d2252;
$custom-light: #bf6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2252",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 336.585,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.16161,
    "h": 2.7
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#9D2252
secondary
#5AC199
accent
#E7A640
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2252

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

Preview Lab → · Contrast checker → · Palette generator →

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