#9E336D#9E336D

#9E336D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.153 H 350.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9E336D
RGBrgb(158, 51, 109)
HSLhsl(327, 51%, 41%)
HSVhsv(327, 68%, 62%)
CMYKcmyk(0%, 67.7%, 31%, 38%)
CIE-LABlab(39.14, 49.69, -9.55)
CIE-LCHlch(39.14, 50.59, 349.12°)
OKLaboklab(49.56% 0.1514 -0.0248)
OKLCHoklch(49.56% 0.153 350.7)
XYZxyz(18.0456, 10.7428, 15.5883)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E336D #339E64
analogous
#99339E #9E336D #9E3337
triadic
#9E336D #6D9E33 #336D9E
tetradic
#9E336D #9E9933 #339E64 #33379E
square
#9E336D #9E9933 #339E64 #33379E
split-complementary
#9E336D #379E33 #339E99
monochromatic
#41152D #70244D #9E336D #C44A8C #D378AA

Accessibility & contrast

On white

6.67
#9E336D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E336D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E336D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E336D#FFFFFF#000000##FFFFFF
##9E336D1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506F
Deuteranopia (green-blind)
#61636A
Tritanopia (blue-blind)
#AA2D4B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e336d;
/* rgb */ color: rgb(158, 51, 109);
/* oklch */ color: oklch(49.6% 0.153 350.7);
Tailwind
colors: {
  custom: {
    50: '#be7296',
    500: '#9e336d',
    950: '#000000',
  },
}
SCSS
$custom: #9e336d;
$custom-light: #be7296;
$custom-dark: #000000;
JSON
{
  "hex": "#9e336d",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 327.477,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.15338,
    "h": 350.7
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#9E336D
secondary
#71BC93
accent
#DB8E4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E336D

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

Preview Lab → · Contrast checker → · Palette generator →

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