#9E225F#9E225F

#9E225F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.167 H 356.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9E225F
RGBrgb(158, 34, 95)
HSLhsl(330, 65%, 38%)
HSVhsv(330, 78%, 62%)
CMYKcmyk(0%, 78.5%, 39.9%, 38%)
CIE-LABlab(36.45, 54.21, -4.73)
CIE-LCHlch(36.45, 54.41, 355.01°)
OKLaboklab(47.41% 0.1666 -0.0118)
OKLCHoklch(47.41% 0.167 356)
XYZxyz(16.7393, 9.2415, 11.7266)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E225F #229E61
analogous
#9E229D #9E225F #9E2322
triadic
#9E225F #5F9E22 #225F9E
tetradic
#9E225F #9D9E22 #229E61 #23229E
square
#9E225F #9D9E22 #229E61 #23229E
split-complementary
#9E225F #229E23 #229D9E
monochromatic
#390C22 #6C1741 #9E225F #D02D7D #DC5E9C

Accessibility & contrast

On white

7.37
#9E225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9E225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E225F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E225F#FFFFFF#000000##FFFFFF
##9E225F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4761
Deuteranopia (green-blind)
#5F5E5C
Tritanopia (blue-blind)
#AB0F3E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e225f;
/* rgb */ color: rgb(158, 34, 95);
/* oklch */ color: oklch(47.4% 0.167 356.0);
Tailwind
colors: {
  custom: {
    50: '#c06a8c',
    500: '#9e225f',
    950: '#000000',
  },
}
SCSS
$custom: #9e225f;
$custom-light: #c06a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e225f",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 330.484,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.16706,
    "h": 356
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#9E225F
secondary
#5BC18F
accent
#E89540
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E225F

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

Preview Lab → · Contrast checker → · Palette generator →

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