#9E225D#9E225D

#9E225D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.166 H 357.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9E225D
RGBrgb(158, 34, 93)
HSLhsl(331, 65%, 38%)
HSVhsv(331, 78%, 62%)
CMYKcmyk(0%, 78.5%, 41.1%, 38%)
CIE-LABlab(36.38, 54.00, -3.55)
CIE-LCHlch(36.38, 54.12, 356.23°)
OKLaboklab(47.34% 0.166 -0.0087)
OKLCHoklch(47.34% 0.166 357)
XYZxyz(16.6496, 9.2056, 11.2539)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E225D #229E63
analogous
#9E229B #9E225D #9E2522
triadic
#9E225D #5D9E22 #225D9E
tetradic
#9E225D #9B9E22 #229E63 #25229E
square
#9E225D #9B9E22 #229E63 #25229E
split-complementary
#9E225D #229E25 #229B9E
monochromatic
#390C22 #6C173F #9E225D #D02D7B #DC5E9A

Accessibility & contrast

On white

7.39
#9E225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9E225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E225D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E225D#FFFFFF#000000##FFFFFF
##9E225D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#5F5E5A
Tritanopia (blue-blind)
#AB0E3D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e225d;
/* rgb */ color: rgb(158, 34, 93);
/* oklch */ color: oklch(47.3% 0.166 357.0);
Tailwind
colors: {
  custom: {
    50: '#c06a8a',
    500: '#9e225d',
    950: '#000000',
  },
}
SCSS
$custom: #9e225d;
$custom-light: #c06a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e225d",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 331.452,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.16625,
    "h": 357
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#9E225D
secondary
#5BC190
accent
#E89840
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E225D

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

Preview Lab → · Contrast checker → · Palette generator →

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