#9D2253#9D2253

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

Color values

HEX#9D2253
RGBrgb(157, 34, 83)
HSLhsl(336, 64%, 37%)
HSVhsv(336, 78%, 62%)
CMYKcmyk(0%, 78.3%, 47.1%, 38.4%)
CIE-LABlab(35.87, 52.74, 2.10)
CIE-LCHlch(35.87, 52.78, 2.28°)
OKLaboklab(46.83% 0.1618 0.006)
OKLCHoklch(46.83% 0.162 2.1)
XYZxyz(16.0393, 8.9389, 9.0627)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2253 #229D6C
analogous
#9D2290 #9D2253 #9D2F22
triadic
#9D2253 #539D22 #22539D
tetradic
#9D2253 #909D22 #229D6C #2F229D
square
#9D2253 #909D22 #229D6C #2F229D
split-complementary
#9D2253 #229D2F #22909D
monochromatic
#380C1E #6B1738 #9D2253 #CF2D6E #DC5D90

Accessibility & contrast

On white

7.53
#9D2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9D2253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2253
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2253#FFFFFF#000000##FFFFFF
##9D22531.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4554
Deuteranopia (green-blind)
#605D50
Tritanopia (blue-blind)
#AB0438
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2253;
/* rgb */ color: rgb(157, 34, 83);
/* oklch */ color: oklch(46.8% 0.162 2.1);
Tailwind
colors: {
  custom: {
    50: '#bf6a83',
    500: '#9d2253',
    950: '#000000',
  },
}
SCSS
$custom: #9d2253;
$custom-light: #bf6a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2253",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 336.098,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.16191,
    "h": 2.1
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#9D2253
secondary
#5AC198
accent
#E7A540
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2253

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

Preview Lab → · Contrast checker → · Palette generator →

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