#8A515F#8A515F

#8A515F is a mid, moderate red. Relative luminance 0.121; OKLCH L 50.5% C 0.078 H 4.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8A515F
RGBrgb(138, 81, 95)
HSLhsl(345, 26%, 43%)
HSVhsv(345, 41%, 54%)
CMYKcmyk(0%, 41.3%, 31.2%, 45.9%)
CIE-LABlab(41.40, 25.70, 2.16)
CIE-LCHlch(41.40, 25.79, 4.80°)
OKLaboklab(50.48% 0.0778 0.006)
OKLCHoklch(50.48% 0.078 4.4)
XYZxyz(15.4897, 12.1155, 12.3470)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A515F #518A7C
analogous
#8A517B #8A515F #8A5F51
triadic
#8A515F #5F8A51 #515F8A
tetradic
#8A515F #7B8A51 #518A7C #5F518A
square
#8A515F #7B8A51 #518A7C #5F518A
split-complementary
#8A515F #518A5F #517B8A
monochromatic
#3D242A #633A44 #8A515F #AA6E7D #C195A0

Accessibility & contrast

On white

6.14
#8A515F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A515F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A515F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A515F#FFFFFF#000000##FFFFFF
##8A515F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5B5F
Deuteranopia (green-blind)
#68665E
Tritanopia (blue-blind)
#934D56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a515f;
/* rgb */ color: rgb(138, 81, 95);
/* oklch */ color: oklch(50.5% 0.078 4.4);
Tailwind
colors: {
  custom: {
    50: '#ae838c',
    500: '#8a515f',
    950: '#000000',
  },
}
SCSS
$custom: #8a515f;
$custom-light: #ae838c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a515f",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 95
  },
  "hsl": {
    "h": 345.263,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.07807,
    "h": 4.4
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#8A515F
secondary
#89AEA5
accent
#C2AC65
background
#FAF8F8
surface
#F5EFF0
border
#CFCACB
text
#100A0C
muted
#7F7C7D

Preview Lab

Preview with #8A515F

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

Preview Lab → · Contrast checker → · Palette generator →

#8A515F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva