#9E235F#9E235F

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

Color values

HEX#9E235F
RGBrgb(158, 35, 95)
HSLhsl(331, 64%, 38%)
HSVhsv(331, 78%, 62%)
CMYKcmyk(0%, 77.8%, 39.9%, 38%)
CIE-LABlab(36.55, 53.90, -4.57)
CIE-LCHlch(36.55, 54.09, 355.15°)
OKLaboklab(47.49% 0.1657 -0.0114)
OKLCHoklch(47.49% 0.166 356.1)
XYZxyz(16.7683, 9.2995, 11.7362)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E235F #239E62
analogous
#9E239C #9E235F #9E2523
triadic
#9E235F #5F9E23 #235F9E
tetradic
#9E235F #9C9E23 #239E62 #25239E
square
#9E235F #9C9E23 #239E62 #25239E
split-complementary
#9E235F #239E25 #239C9E
monochromatic
#3A0D23 #6C1841 #9E235F #D02E7D #DC609C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E235F#FFFFFF#000000##FFFFFF
##9E235F1.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)
#3D4760
Deuteranopia (green-blind)
#5F5E5C
Tritanopia (blue-blind)
#AB113E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e235f;
/* rgb */ color: rgb(158, 35, 95);
/* oklch */ color: oklch(47.5% 0.166 356.1);
Tailwind
colors: {
  custom: {
    50: '#c06b8c',
    500: '#9e235f',
    950: '#000000',
  },
}
SCSS
$custom: #9e235f;
$custom-light: #c06b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e235f",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 330.732,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.16604,
    "h": 356.1
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E235F

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

Preview Lab → · Contrast checker → · Palette generator →

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