#9F224F#9F224F

#9F224F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 4.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9F224F
RGBrgb(159, 34, 79)
HSLhsl(338, 65%, 38%)
HSVhsv(338, 79%, 62%)
CMYKcmyk(0%, 78.6%, 50.3%, 37.6%)
CIE-LABlab(36.14, 52.95, 5.13)
CIE-LCHlch(36.14, 53.19, 5.53°)
OKLaboklab(47.06% 0.162 0.0136)
OKLCHoklch(47.06% 0.163 4.8)
XYZxyz(16.2828, 9.0818, 8.2912)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F224F #229F72
analogous
#9F228D #9F224F #9F3322
triadic
#9F224F #4F9F22 #224F9F
tetradic
#9F224F #8D9F22 #229F72 #33229F
square
#9F224F #8D9F22 #229F72 #33229F
split-complementary
#9F224F #229F33 #228D9F
monochromatic
#3A0C1D #6D1736 #9F224F #D12D68 #DD5F8C

Accessibility & contrast

On white

7.46
#9F224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F224F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F224F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F224F#FFFFFF#000000##FFFFFF
##9F224F1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#625E4C
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f224f;
/* rgb */ color: rgb(159, 34, 79);
/* oklch */ color: oklch(47.1% 0.163 4.8);
Tailwind
colors: {
  custom: {
    50: '#c16a80',
    500: '#9f224f',
    950: '#000000',
  },
}
SCSS
$custom: #9f224f;
$custom-light: #c16a80;
$custom-dark: #000000;
JSON
{
  "hex": "#9f224f",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 338.4,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.16257,
    "h": 4.8
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#9F224F
secondary
#5BC19D
accent
#E8AB40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F224F

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

Preview Lab → · Contrast checker → · Palette generator →

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