#9F224D#9F224D

#9F224D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.162 H 5.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9F224D
RGBrgb(159, 34, 77)
HSLhsl(339, 65%, 38%)
HSVhsv(339, 79%, 62%)
CMYKcmyk(0%, 78.6%, 51.6%, 37.6%)
CIE-LABlab(36.09, 52.78, 6.34)
CIE-LCHlch(36.09, 53.16, 6.85°)
OKLaboklab(47.01% 0.1613 0.0166)
OKLCHoklch(47.01% 0.162 5.9)
XYZxyz(16.2111, 9.0531, 7.9135)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F224D #229F74
analogous
#9F228B #9F224D #9F3522
triadic
#9F224D #4D9F22 #224D9F
tetradic
#9F224D #8B9F22 #229F74 #35229F
square
#9F224D #8B9F22 #229F74 #35229F
split-complementary
#9F224D #229F35 #228B9F
monochromatic
#3A0C1C #6D1735 #9F224D #D12D65 #DD5F8A

Accessibility & contrast

On white

7.47
#9F224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F224D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F224D#FFFFFF#000000##FFFFFF
##9F224D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454E
Deuteranopia (green-blind)
#635E4A
Tritanopia (blue-blind)
#AE0035
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f224d;
/* rgb */ color: rgb(159, 34, 77);
/* oklch */ color: oklch(47.0% 0.162 5.9);
Tailwind
colors: {
  custom: {
    50: '#c16a7e',
    500: '#9f224d',
    950: '#000000',
  },
}
SCSS
$custom: #9f224d;
$custom-light: #c16a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f224d",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 339.36,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.1621,
    "h": 5.9
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#9F224D
secondary
#5BC19E
accent
#E8AE40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F224D

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

Preview Lab → · Contrast checker → · Palette generator →

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