#9F224B#9F224B

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

Color values

HEX#9F224B
RGBrgb(159, 34, 75)
HSLhsl(340, 65%, 38%)
HSVhsv(340, 79%, 62%)
CMYKcmyk(0%, 78.6%, 52.8%, 37.6%)
CIE-LABlab(36.03, 52.61, 7.56)
CIE-LCHlch(36.03, 53.15, 8.17°)
OKLaboklab(46.95% 0.1605 0.0195)
OKLCHoklch(46.95% 0.162 6.9)
XYZxyz(16.1416, 9.0253, 7.5473)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F224B #229F76
analogous
#9F2289 #9F224B #9F3722
triadic
#9F224B #4B9F22 #224B9F
tetradic
#9F224B #899F22 #229F76 #37229F
square
#9F224B #899F22 #229F76 #37229F
split-complementary
#9F224B #229F37 #22899F
monochromatic
#3A0C1B #6D1733 #9F224B #D12D63 #DD5F88

Accessibility & contrast

On white

7.49
#9F224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F224B
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F224B#FFFFFF#000000##FFFFFF
##9F224B1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454C
Deuteranopia (green-blind)
#635E48
Tritanopia (blue-blind)
#AE0034
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f224b;
/* rgb */ color: rgb(159, 34, 75);
/* oklch */ color: oklch(46.9% 0.162 6.9);
Tailwind
colors: {
  custom: {
    50: '#c16a7d',
    500: '#9f224b',
    950: '#000000',
  },
}
SCSS
$custom: #9f224b;
$custom-light: #c16a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f224b",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 340.32,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.16168,
    "h": 6.9
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#9F224B
secondary
#5BC1A0
accent
#E8B140
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F224B

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

Preview Lab → · Contrast checker → · Palette generator →

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