#9E335C#9E335C

#9E335C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 48.9% C 0.146 H 0.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9E335C
RGBrgb(158, 51, 92)
HSLhsl(337, 51%, 41%)
HSVhsv(337, 68%, 62%)
CMYKcmyk(0%, 67.7%, 41.8%, 38%)
CIE-LABlab(38.57, 47.69, 0.31)
CIE-LCHlch(38.57, 47.69, 0.37°)
OKLaboklab(48.95% 0.1459 0.0014)
OKLCHoklch(48.95% 0.146 0.5)
XYZxyz(17.2173, 10.4115, 11.2261)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E335C #339E75
analogous
#9E3391 #9E335C #9E3F33
triadic
#9E335C #5C9E33 #335C9E
tetradic
#9E335C #919E33 #339E75 #3F339E
square
#9E335C #919E33 #339E75 #3F339E
split-complementary
#9E335C #339E3F #33919E
monochromatic
#411526 #702441 #9E335C #C44A79 #D3789B

Accessibility & contrast

On white

6.81
#9E335C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E335C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E335C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E335C#FFFFFF#000000##FFFFFF
##9E335C1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5D
Deuteranopia (green-blind)
#65625A
Tritanopia (blue-blind)
#AB2644
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e335c;
/* rgb */ color: rgb(158, 51, 92);
/* oklch */ color: oklch(48.9% 0.146 0.5);
Tailwind
colors: {
  custom: {
    50: '#bf728a',
    500: '#9e335c',
    950: '#000000',
  },
}
SCSS
$custom: #9e335c;
$custom-light: #bf728a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e335c",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 337.009,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48947,
    "c": 0.14594,
    "h": 0.5
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#9E335C
secondary
#71BC9F
accent
#DBA44D
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E335C

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

Preview Lab → · Contrast checker → · Palette generator →

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