#9F224A#9F224A

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

Color values

HEX#9F224A
RGBrgb(159, 34, 74)
HSLhsl(341, 65%, 38%)
HSVhsv(341, 79%, 62%)
CMYKcmyk(0%, 78.6%, 53.5%, 37.6%)
CIE-LABlab(36.01, 52.53, 8.16)
CIE-LCHlch(36.01, 53.16, 8.84°)
OKLaboklab(46.92% 0.1601 0.021)
OKLCHoklch(46.92% 0.161 7.5)
XYZxyz(16.1076, 9.0117, 7.3685)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F224A #229F77
analogous
#9F2288 #9F224A #9F3822
triadic
#9F224A #4A9F22 #224A9F
tetradic
#9F224A #889F22 #229F77 #38229F
square
#9F224A #889F22 #229F77 #38229F
split-complementary
#9F224A #229F38 #22889F
monochromatic
#3A0C1B #6D1733 #9F224A #D12D61 #DD5F87

Accessibility & contrast

On white

7.50
#9F224A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9F224A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F224A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F224A#FFFFFF#000000##FFFFFF
##9F224A1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43454B
Deuteranopia (green-blind)
#635E47
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f224a;
/* rgb */ color: rgb(159, 34, 74);
/* oklch */ color: oklch(46.9% 0.161 7.5);
Tailwind
colors: {
  custom: {
    50: '#c16a7c',
    500: '#9f224a',
    950: '#000000',
  },
}
SCSS
$custom: #9f224a;
$custom-light: #c16a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f224a",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 340.8,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.16147,
    "h": 7.5
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#9F224A
secondary
#5BC1A1
accent
#E8B240
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F224A

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

Preview Lab → · Contrast checker → · Palette generator →

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