#9E315D#9E315D

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

Color values

HEX#9E315D
RGBrgb(158, 49, 93)
HSLhsl(336, 53%, 41%)
HSVhsv(336, 69%, 62%)
CMYKcmyk(0%, 69%, 41.1%, 38%)
CIE-LABlab(38.30, 48.62, -0.72)
CIE-LCHlch(38.30, 48.63, 359.15°)
OKLaboklab(48.76% 0.1489 -0.0013)
OKLCHoklch(48.76% 0.149 359.5)
XYZxyz(17.1758, 10.2581, 11.4293)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E315D #319E72
analogous
#9E3193 #9E315D #9E3B31
triadic
#9E315D #5D9E31 #315D9E
tetradic
#9E315D #939E31 #319E72 #3B319E
square
#9E315D #939E31 #319E72 #3B319E
split-complementary
#9E315D #319E3B #31939E
monochromatic
#411426 #6F2342 #9E315D #C6467A #D4759C

Accessibility & contrast

On white

6.88
#9E315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E315D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E315D#FFFFFF#000000##FFFFFF
##9E315D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5E
Deuteranopia (green-blind)
#64625A
Tritanopia (blue-blind)
#AB2443
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e315d;
/* rgb */ color: rgb(158, 49, 93);
/* oklch */ color: oklch(48.8% 0.149 359.5);
Tailwind
colors: {
  custom: {
    50: '#bf718a',
    500: '#9e315d',
    950: '#000000',
  },
}
SCSS
$custom: #9e315d;
$custom-light: #bf718a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e315d",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 335.78,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.14891,
    "h": 359.5
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#9E315D
secondary
#6EBC9D
accent
#DCA24C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E315D

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

Preview Lab → · Contrast checker → · Palette generator →

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