#9D224F#9D224F

#9D224F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.161 H 4.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9D224F
RGBrgb(157, 34, 79)
HSLhsl(338, 64%, 37%)
HSVhsv(338, 78%, 62%)
CMYKcmyk(0%, 78.3%, 49.7%, 38.4%)
CIE-LABlab(35.75, 52.38, 4.52)
CIE-LCHlch(35.75, 52.57, 4.93°)
OKLaboklab(46.71% 0.1603 0.0121)
OKLCHoklch(46.71% 0.161 4.3)
XYZxyz(15.8893, 8.8789, 8.2727)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D224F #229D70
analogous
#9D228C #9D224F #9D3322
triadic
#9D224F #4F9D22 #224F9D
tetradic
#9D224F #8C9D22 #229D70 #33229D
square
#9D224F #8C9D22 #229D70 #33229D
split-complementary
#9D224F #229D33 #228C9D
monochromatic
#380C1C #6B1736 #9D224F #CF2D68 #DC5D8C

Accessibility & contrast

On white

7.57
#9D224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D224F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D224F#FFFFFF#000000##FFFFFF
##9D224F1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AB0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d224f;
/* rgb */ color: rgb(157, 34, 79);
/* oklch */ color: oklch(46.7% 0.161 4.3);
Tailwind
colors: {
  custom: {
    50: '#c06a80',
    500: '#9d224f',
    950: '#000000',
  },
}
SCSS
$custom: #9d224f;
$custom-light: #c06a80;
$custom-dark: #000000;
JSON
{
  "hex": "#9d224f",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 338.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.16079,
    "h": 4.3
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#9D224F
secondary
#5AC19B
accent
#E7AA40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D224F

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

Preview Lab → · Contrast checker → · Palette generator →

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