#815157#815157

#815157 is a mid, moderate red. Relative luminance 0.112; OKLCH L 49.1% C 0.065 H 11.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#815157
RGBrgb(129, 81, 87)
HSLhsl(353, 23%, 41%)
HSVhsv(353, 37%, 51%)
CMYKcmyk(0%, 37.2%, 32.6%, 49.4%)
CIE-LABlab(39.98, 20.95, 4.92)
CIE-LCHlch(39.98, 21.52, 13.21°)
OKLaboklab(49.07% 0.0636 0.013)
OKLCHoklch(49.07% 0.065 11.6)
XYZxyz(13.7164, 11.2411, 10.4623)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815157 #51817B
analogous
#81516F #815157 #816351
triadic
#815157 #578151 #515781
tetradic
#815157 #6F8151 #51817B #635181
square
#815157 #6F8151 #51817B #635181
split-complementary
#815157 #518163 #516F81
monochromatic
#362224 #5B393E #815157 #A36C73 #BA9297

Accessibility & contrast

On white

6.47
#815157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#815157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815157
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815157#FFFFFF#000000##FFFFFF
##8151571.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595957
Deuteranopia (green-blind)
#656256
Tritanopia (blue-blind)
#8A4D53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #815157;
/* rgb */ color: rgb(129, 81, 87);
/* oklch */ color: oklch(49.1% 0.065 11.6);
Tailwind
colors: {
  custom: {
    50: '#a78286',
    500: '#815157',
    950: '#000000',
  },
}
SCSS
$custom: #815157;
$custom-light: #a78286;
$custom-dark: #000000;
JSON
{
  "hex": "#815157",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 352.5,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49066,
    "c": 0.06488,
    "h": 11.6
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#815157
secondary
#86A8A3
accent
#BFB468
background
#FAF8F8
surface
#F4EFEF
border
#CECACA
text
#100A0B
muted
#7F7C7C

Preview Lab

Preview with #815157

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

Preview Lab → · Contrast checker → · Palette generator →

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