#9E245F#9E245F

#9E245F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.165 H 356.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9E245F
RGBrgb(158, 36, 95)
HSLhsl(331, 63%, 38%)
HSVhsv(331, 77%, 62%)
CMYKcmyk(0%, 77.2%, 39.9%, 38%)
CIE-LABlab(36.67, 53.58, -4.40)
CIE-LCHlch(36.67, 53.76, 355.30°)
OKLaboklab(47.58% 0.1646 -0.0109)
OKLCHoklch(47.58% 0.165 356.2)
XYZxyz(16.7982, 9.3592, 11.7462)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E245F #249E63
analogous
#9E249C #9E245F #9E2624
triadic
#9E245F #5F9E24 #245F9E
tetradic
#9E245F #9C9E24 #249E63 #26249E
square
#9E245F #9C9E24 #249E63 #26249E
split-complementary
#9E245F #249E26 #249C9E
monochromatic
#3A0D23 #6C1941 #9E245F #D02F7D #DB619C

Accessibility & contrast

On white

7.31
#9E245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E245F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E245F#FFFFFF#000000##FFFFFF
##9E245F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e245f;
/* rgb */ color: rgb(158, 36, 95);
/* oklch */ color: oklch(47.6% 0.165 356.2);
Tailwind
colors: {
  custom: {
    50: '#bf6b8c',
    500: '#9e245f',
    950: '#000000',
  },
}
SCSS
$custom: #9e245f;
$custom-light: #bf6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e245f",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 330.984,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.165,
    "h": 356.2
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#9E245F
secondary
#5EC091
accent
#E69742
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E245F

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

Preview Lab → · Contrast checker → · Palette generator →

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