#9E245C#9E245C

#9E245C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.164 H 357.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9E245C
RGBrgb(158, 36, 92)
HSLhsl(332, 63%, 38%)
HSVhsv(332, 77%, 62%)
CMYKcmyk(0%, 77.2%, 41.8%, 38%)
CIE-LABlab(36.57, 53.27, -2.63)
CIE-LCHlch(36.57, 53.33, 357.17°)
OKLaboklab(47.47% 0.1637 -0.0062)
OKLCHoklch(47.47% 0.164 357.8)
XYZxyz(16.6644, 9.3057, 11.0418)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E245C #249E66
analogous
#9E2499 #9E245C #9E2924
triadic
#9E245C #5C9E24 #245C9E
tetradic
#9E245C #999E24 #249E66 #29249E
square
#9E245C #999E24 #249E66 #29249E
split-complementary
#9E245C #249E29 #24999E
monochromatic
#3A0D22 #6C193F #9E245C #D02F79 #DB6199

Accessibility & contrast

On white

7.34
#9E245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9E245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E245C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E245C#FFFFFF#000000##FFFFFF
##9E245C1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475D
Deuteranopia (green-blind)
#605E59
Tritanopia (blue-blind)
#AB113D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e245c;
/* rgb */ color: rgb(158, 36, 92);
/* oklch */ color: oklch(47.5% 0.164 357.8);
Tailwind
colors: {
  custom: {
    50: '#c06b8a',
    500: '#9e245c',
    950: '#000000',
  },
}
SCSS
$custom: #9e245c;
$custom-light: #c06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e245c",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 332.459,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.16381,
    "h": 357.8
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#9E245C
secondary
#5EC093
accent
#E69B42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E245C

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

Preview Lab → · Contrast checker → · Palette generator →

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