#9D224E#9D224E

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

Color values

HEX#9D224E
RGBrgb(157, 34, 78)
HSLhsl(339, 64%, 37%)
HSVhsv(339, 78%, 62%)
CMYKcmyk(0%, 78.3%, 50.3%, 38.4%)
CIE-LABlab(35.72, 52.29, 5.12)
CIE-LCHlch(35.72, 52.54, 5.59°)
OKLaboklab(46.68% 0.16 0.0136)
OKLCHoklch(46.68% 0.161 4.8)
XYZxyz(15.8532, 8.8644, 8.0825)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D224E #229D71
analogous
#9D228B #9D224E #9D3422
triadic
#9D224E #4E9D22 #224E9D
tetradic
#9D224E #8B9D22 #229D71 #34229D
square
#9D224E #8B9D22 #229D71 #34229D
split-complementary
#9D224E #229D34 #228B9D
monochromatic
#380C1C #6B1735 #9D224E #CF2D67 #DC5D8B

Accessibility & contrast

On white

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

On black

2.77
#9D224E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D224E#FFFFFF#000000##FFFFFF
##9D224E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41454F
Deuteranopia (green-blind)
#615D4B
Tritanopia (blue-blind)
#AB0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d224e;
/* rgb */ color: rgb(157, 34, 78);
/* oklch */ color: oklch(46.7% 0.161 4.8);
Tailwind
colors: {
  custom: {
    50: '#c06a7f',
    500: '#9d224e',
    950: '#000000',
  },
}
SCSS
$custom: #9d224e;
$custom-light: #c06a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d224e",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 338.537,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46675,
    "c": 0.16054,
    "h": 4.8
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#9D224E
secondary
#5AC19C
accent
#E7AC40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D224E

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

Preview Lab → · Contrast checker → · Palette generator →

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