#9F224E#9F224E

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

Color values

HEX#9F224E
RGBrgb(159, 34, 78)
HSLhsl(339, 65%, 38%)
HSVhsv(339, 79%, 62%)
CMYKcmyk(0%, 78.6%, 50.9%, 37.6%)
CIE-LABlab(36.11, 52.86, 5.73)
CIE-LCHlch(36.11, 53.17, 6.19°)
OKLaboklab(47.03% 0.1616 0.0151)
OKLCHoklch(47.03% 0.162 5.3)
XYZxyz(16.2467, 9.0673, 8.1009)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F224E #229F73
analogous
#9F228C #9F224E #9F3422
triadic
#9F224E #4E9F22 #224E9F
tetradic
#9F224E #8C9F22 #229F73 #34229F
square
#9F224E #8C9F22 #229F73 #34229F
split-complementary
#9F224E #229F34 #228C9F
monochromatic
#3A0C1D #6D1735 #9F224E #D12D67 #DD5F8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F224E#FFFFFF#000000##FFFFFF
##9F224E1.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)
#42454F
Deuteranopia (green-blind)
#635E4B
Tritanopia (blue-blind)
#AD0035
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f224e;
/* rgb */ color: rgb(159, 34, 78);
/* oklch */ color: oklch(47.0% 0.162 5.3);
Tailwind
colors: {
  custom: {
    50: '#c16a7f',
    500: '#9f224e',
    950: '#000000',
  },
}
SCSS
$custom: #9f224e;
$custom-light: #c16a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f224e",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 338.88,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47034,
    "c": 0.16233,
    "h": 5.3
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#9F224E
secondary
#5BC19E
accent
#E8AD40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F224E

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

Preview Lab → · Contrast checker → · Palette generator →

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