#9D2254#9D2254

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

Color values

HEX#9D2254
RGBrgb(157, 34, 84)
HSLhsl(336, 64%, 37%)
HSVhsv(336, 78%, 62%)
CMYKcmyk(0%, 78.3%, 46.5%, 38.4%)
CIE-LABlab(35.90, 52.84, 1.50)
CIE-LCHlch(35.90, 52.86, 1.63°)
OKLaboklab(46.86% 0.1622 0.0044)
OKLCHoklch(46.86% 0.162 1.6)
XYZxyz(16.0782, 8.9544, 9.2675)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2254 #229D6B
analogous
#9D2291 #9D2254 #9D2E22
triadic
#9D2254 #549D22 #22549D
tetradic
#9D2254 #919D22 #229D6B #2E229D
square
#9D2254 #919D22 #229D6B #2E229D
split-complementary
#9D2254 #229D2E #22919D
monochromatic
#380C1E #6B1739 #9D2254 #CF2D6F #DC5D91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2254#FFFFFF#000000##FFFFFF
##9D22541.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)
#3F4555
Deuteranopia (green-blind)
#605D51
Tritanopia (blue-blind)
#AB0538
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2254;
/* rgb */ color: rgb(157, 34, 84);
/* oklch */ color: oklch(46.9% 0.162 1.6);
Tailwind
colors: {
  custom: {
    50: '#bf6a83',
    500: '#9d2254',
    950: '#000000',
  },
}
SCSS
$custom: #9d2254;
$custom-light: #bf6a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2254",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 335.61,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4686,
    "c": 0.16222,
    "h": 1.6
  },
  "luminance": 0.08952
}

Semantic roles & 50–950 ramp

primary
#9D2254
secondary
#5AC197
accent
#E7A440
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2254

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

Preview Lab → · Contrast checker → · Palette generator →

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