#9E234C#9E234C

#9E234C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.160 H 6.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9E234C
RGBrgb(158, 35, 76)
HSLhsl(340, 64%, 38%)
HSVhsv(340, 78%, 62%)
CMYKcmyk(0%, 77.8%, 51.9%, 38%)
CIE-LABlab(35.98, 52.09, 6.80)
CIE-LCHlch(35.98, 52.53, 7.44°)
OKLaboklab(46.88% 0.159 0.0177)
OKLCHoklch(46.88% 0.16 6.4)
XYZxyz(16.0075, 8.9952, 7.7294)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E234C #239E75
analogous
#9E2389 #9E234C #9E3723
triadic
#9E234C #4C9E23 #234C9E
tetradic
#9E234C #899E23 #239E75 #37239E
square
#9E234C #899E23 #239E75 #37239E
split-complementary
#9E234C #239E37 #23899E
monochromatic
#3A0D1C #6C1834 #9E234C #D02E64 #DC6089

Accessibility & contrast

On white

7.50
#9E234C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E234C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E234C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E234C#FFFFFF#000000##FFFFFF
##9E234C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454D
Deuteranopia (green-blind)
#635D49
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e234c;
/* rgb */ color: rgb(158, 35, 76);
/* oklch */ color: oklch(46.9% 0.160 6.4);
Tailwind
colors: {
  custom: {
    50: '#c06a7d',
    500: '#9e234c',
    950: '#000000',
  },
}
SCSS
$custom: #9e234c;
$custom-light: #c06a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e234c",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 76
  },
  "hsl": {
    "h": 340,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.16001,
    "h": 6.4
  },
  "luminance": 0.08993
}

Semantic roles & 50–950 ramp

primary
#9E234C
secondary
#5CC19F
accent
#E7B041
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E234C

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

Preview Lab → · Contrast checker → · Palette generator →

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