#9E235E#9E235E

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

Color values

HEX#9E235E
RGBrgb(158, 35, 94)
HSLhsl(331, 64%, 38%)
HSVhsv(331, 78%, 62%)
CMYKcmyk(0%, 77.8%, 40.5%, 38%)
CIE-LABlab(36.52, 53.79, -3.98)
CIE-LCHlch(36.52, 53.94, 355.77°)
OKLaboklab(47.46% 0.1653 -0.0098)
OKLCHoklch(47.46% 0.166 356.6)
XYZxyz(16.7232, 9.2814, 11.4984)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E235E #239E63
analogous
#9E239B #9E235E #9E2623
triadic
#9E235E #5E9E23 #235E9E
tetradic
#9E235E #9B9E23 #239E63 #26239E
square
#9E235E #9B9E23 #239E63 #26239E
split-complementary
#9E235E #239E26 #239B9E
monochromatic
#3A0D22 #6C1840 #9E235E #D02E7C #DC609B

Accessibility & contrast

On white

7.35
#9E235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E235E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E235E#FFFFFF#000000##FFFFFF
##9E235E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#5F5E5B
Tritanopia (blue-blind)
#AB103D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e235e;
/* rgb */ color: rgb(158, 35, 94);
/* oklch */ color: oklch(47.5% 0.166 356.6);
Tailwind
colors: {
  custom: {
    50: '#c06b8b',
    500: '#9e235e',
    950: '#000000',
  },
}
SCSS
$custom: #9e235e;
$custom-light: #c06b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e235e",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 331.22,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.16563,
    "h": 356.6
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#9E235E
secondary
#5CC190
accent
#E79741
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E235E

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

Preview Lab → · Contrast checker → · Palette generator →

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