#9E235B#9E235B

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

Color values

HEX#9E235B
RGBrgb(158, 35, 91)
HSLhsl(333, 64%, 38%)
HSVhsv(333, 78%, 62%)
CMYKcmyk(0%, 77.8%, 42.4%, 38%)
CIE-LABlab(36.42, 53.48, -2.21)
CIE-LCHlch(36.42, 53.53, 357.64°)
OKLaboklab(47.35% 0.1644 -0.0051)
OKLCHoklch(47.35% 0.164 358.2)
XYZxyz(16.5911, 9.2286, 10.8031)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E235B #239E66
analogous
#9E2398 #9E235B #9E2823
triadic
#9E235B #5B9E23 #235B9E
tetradic
#9E235B #989E23 #239E66 #28239E
square
#9E235B #989E23 #239E66 #28239E
split-complementary
#9E235B #239E28 #23989E
monochromatic
#3A0D21 #6C183E #9E235B #D02E78 #DC6098

Accessibility & contrast

On white

7.38
#9E235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E235B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E235B#FFFFFF#000000##FFFFFF
##9E235B1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475C
Deuteranopia (green-blind)
#605E58
Tritanopia (blue-blind)
#AB0E3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e235b;
/* rgb */ color: rgb(158, 35, 91);
/* oklch */ color: oklch(47.4% 0.164 358.2);
Tailwind
colors: {
  custom: {
    50: '#c06b89',
    500: '#9e235b',
    950: '#000000',
  },
}
SCSS
$custom: #9e235b;
$custom-light: #c06b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9e235b",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 332.683,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47352,
    "c": 0.16446,
    "h": 358.2
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#9E235B
secondary
#5CC193
accent
#E79B41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E235B

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

Preview Lab → · Contrast checker → · Palette generator →

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