#815173#815173

#815173 is a mid, moderate pink. Relative luminance 0.118; OKLCH L 50.0% C 0.080 H 338.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#815173
RGBrgb(129, 81, 115)
HSLhsl(318, 23%, 41%)
HSVhsv(318, 37%, 51%)
CMYKcmyk(0%, 37.2%, 10.9%, 49.4%)
CIE-LABlab(40.88, 25.56, -11.08)
CIE-LCHlch(40.88, 27.86, 336.57°)
OKLaboklab(50.05% 0.0741 -0.0295)
OKLCHoklch(50.05% 0.08 338.3)
XYZxyz(15.0902, 11.7906, 17.6973)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815173 #51815F
analogous
#775181 #815173 #81515B
triadic
#815173 #738151 #517381
tetradic
#815173 #817751 #51815F #515B81
square
#815173 #817751 #51815F #515B81
split-complementary
#815173 #5B8151 #518177
monochromatic
#362230 #5B3951 #815173 #A36C93 #BA92AF

Accessibility & contrast

On white

6.25
#815173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#815173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815173
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815173#FFFFFF#000000##FFFFFF
##8151731.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525C74
Deuteranopia (green-blind)
#5E6372
Tritanopia (blue-blind)
#86525D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #815173;
/* rgb */ color: rgb(129, 81, 115);
/* oklch */ color: oklch(50.0% 0.080 338.3);
Tailwind
colors: {
  custom: {
    50: '#a6839b',
    500: '#815173',
    950: '#000000',
  },
}
SCSS
$custom: #815173;
$custom-light: #a6839b;
$custom-dark: #000000;
JSON
{
  "hex": "#815173",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 317.5,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.07981,
    "h": 338.3
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#815173
secondary
#86A890
accent
#BF8268
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #815173

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

Preview Lab → · Contrast checker → · Palette generator →

#815173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva