#9E315B#9E315B

#9E315B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.148 H 0.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9E315B
RGBrgb(158, 49, 91)
HSLhsl(337, 53%, 41%)
HSVhsv(337, 69%, 62%)
CMYKcmyk(0%, 69%, 42.4%, 38%)
CIE-LABlab(38.24, 48.41, 0.46)
CIE-LCHlch(38.24, 48.41, 0.54°)
OKLaboklab(48.69% 0.1482 0.0018)
OKLCHoklch(48.69% 0.148 0.7)
XYZxyz(17.0884, 10.2231, 10.9689)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E315B #319E74
analogous
#9E3191 #9E315B #9E3E31
triadic
#9E315B #5B9E31 #315B9E
tetradic
#9E315B #919E31 #319E74 #3E319E
square
#9E315B #919E31 #319E74 #3E319E
split-complementary
#9E315B #319E3E #31919E
monochromatic
#411425 #6F2340 #9E315B #C64677 #D4759A

Accessibility & contrast

On white

6.90
#9E315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E315B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E315B#FFFFFF#000000##FFFFFF
##9E315B1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5C
Deuteranopia (green-blind)
#646258
Tritanopia (blue-blind)
#AB2342
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e315b;
/* rgb */ color: rgb(158, 49, 91);
/* oklch */ color: oklch(48.7% 0.148 0.7);
Tailwind
colors: {
  custom: {
    50: '#bf7189',
    500: '#9e315b',
    950: '#000000',
  },
}
SCSS
$custom: #9e315b;
$custom-light: #bf7189;
$custom-dark: #000000;
JSON
{
  "hex": "#9e315b",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 336.881,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48692,
    "c": 0.14821,
    "h": 0.7
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#9E315B
secondary
#6EBC9E
accent
#DCA44C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E315B

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

Preview Lab → · Contrast checker → · Palette generator →

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