#95317E#95317E

#95317E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.160 H 338.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#95317E
RGBrgb(149, 49, 126)
HSLhsl(314, 51%, 39%)
HSVhsv(314, 67%, 58%)
CMYKcmyk(0%, 67.1%, 15.4%, 41.6%)
CIE-LABlab(38.01, 50.33, -22.02)
CIE-LCHlch(38.01, 54.94, 336.38°)
OKLaboklab(48.66% 0.1485 -0.0596)
OKLCHoklch(48.66% 0.16 338.1)
XYZxyz(17.2590, 10.0941, 20.7740)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95317E #319548
analogous
#7A3195 #95317E #95314C
triadic
#95317E #7E9531 #317E95
tetradic
#95317E #957A31 #319548 #314C95
square
#95317E #957A31 #319548 #314C95
split-complementary
#95317E #4C9531 #31957A
monochromatic
#391330 #672257 #95317E #C142A4 #D070BA

Accessibility & contrast

On white

6.96
#95317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#95317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #95317E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95317E#FFFFFF#000000##FFFFFF
##95317E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#9D3553
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #95317e;
/* rgb */ color: rgb(149, 49, 126);
/* oklch */ color: oklch(48.7% 0.160 338.1);
Tailwind
colors: {
  custom: {
    50: '#b771a3',
    500: '#95317e',
    950: '#000000',
  },
}
SCSS
$custom: #95317e;
$custom-light: #b771a3;
$custom-dark: #000000;
JSON
{
  "hex": "#95317e",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 313.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.16002,
    "h": 338.1
  },
  "luminance": 0.10093
}

Semantic roles & 50–950 ramp

primary
#95317E
secondary
#6AB87C
accent
#DA6E4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #95317E

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

Preview Lab → · Contrast checker → · Palette generator →

#95317E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva