#9E315E#9E315E

#9E315E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.8% C 0.149 H 358.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9E315E
RGBrgb(158, 49, 94)
HSLhsl(335, 53%, 41%)
HSVhsv(335, 69%, 62%)
CMYKcmyk(0%, 69%, 40.5%, 38%)
CIE-LABlab(38.33, 48.73, -1.31)
CIE-LCHlch(38.33, 48.75, 358.46°)
OKLaboklab(48.79% 0.1492 -0.0028)
OKLCHoklch(48.79% 0.149 358.9)
XYZxyz(17.2204, 10.2759, 11.6641)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E315E #319E71
analogous
#9E3194 #9E315E #9E3A31
triadic
#9E315E #5E9E31 #315E9E
tetradic
#9E315E #949E31 #319E71 #3A319E
square
#9E315E #949E31 #319E71 #3A319E
split-complementary
#9E315E #319E3A #31949E
monochromatic
#411426 #6F2342 #9E315E #C6467B #D4759C

Accessibility & contrast

On white

6.87
#9E315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E315E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E315E#FFFFFF#000000##FFFFFF
##9E315E1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#AB2543
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e315e;
/* rgb */ color: rgb(158, 49, 94);
/* oklch */ color: oklch(48.8% 0.149 358.9);
Tailwind
colors: {
  custom: {
    50: '#bf718b',
    500: '#9e315e',
    950: '#000000',
  },
}
SCSS
$custom: #9e315e;
$custom-light: #bf718b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e315e",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 335.229,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.14927,
    "h": 358.9
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#9E315E
secondary
#6EBC9C
accent
#DCA04C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9E315E

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

Preview Lab → · Contrast checker → · Palette generator →

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