#9E224F#9E224F

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

Color values

HEX#9E224F
RGBrgb(158, 34, 79)
HSLhsl(338, 65%, 38%)
HSVhsv(338, 78%, 62%)
CMYKcmyk(0%, 78.5%, 50%, 38%)
CIE-LABlab(35.95, 52.66, 4.82)
CIE-LCHlch(35.95, 52.88, 5.23°)
OKLaboklab(46.88% 0.1612 0.0128)
OKLCHoklch(46.88% 0.162 4.5)
XYZxyz(16.0853, 8.9799, 8.2819)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E224F #229E71
analogous
#9E228D #9E224F #9E3322
triadic
#9E224F #4F9E22 #224F9E
tetradic
#9E224F #8D9E22 #229E71 #33229E
square
#9E224F #8D9E22 #229E71 #33229E
split-complementary
#9E224F #229E33 #228D9E
monochromatic
#390C1D #6C1736 #9E224F #D02D68 #DC5E8C

Accessibility & contrast

On white

7.51
#9E224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E224F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E224F#FFFFFF#000000##FFFFFF
##9E224F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e224f;
/* rgb */ color: rgb(158, 34, 79);
/* oklch */ color: oklch(46.9% 0.162 4.5);
Tailwind
colors: {
  custom: {
    50: '#c06a80',
    500: '#9e224f',
    950: '#000000',
  },
}
SCSS
$custom: #9e224f;
$custom-light: #c06a80;
$custom-dark: #000000;
JSON
{
  "hex": "#9e224f",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 338.226,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46884,
    "c": 0.16169,
    "h": 4.5
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E224F

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

Preview Lab → · Contrast checker → · Palette generator →

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