#8A4152#8A4152

#8A4152 is a mid, moderate red. Relative luminance 0.098; OKLCH L 47.4% C 0.101 H 7.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A4152
RGBrgb(138, 65, 82)
HSLhsl(346, 36%, 40%)
HSVhsv(346, 53%, 54%)
CMYKcmyk(0%, 52.9%, 40.6%, 45.9%)
CIE-LABlab(37.47, 32.92, 4.62)
CIE-LCHlch(37.47, 33.24, 7.99°)
OKLaboklab(47.38% 0.1 0.0123)
OKLCHoklch(47.38% 0.101 7)
XYZxyz(13.8953, 9.7945, 9.1397)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4152 #418A79
analogous
#8A4177 #8A4152 #8A5441
triadic
#8A4152 #528A41 #41528A
tetradic
#8A4152 #778A41 #418A79 #54418A
square
#8A4152 #778A41 #418A79 #54418A
split-complementary
#8A4152 #418A54 #41778A
monochromatic
#371A21 #602D39 #8A4152 #B0586C #C48291

Accessibility & contrast

On white

7.10
#8A4152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A4152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A4152
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4152#FFFFFF#000000##FFFFFF
##8A41521.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F52
Deuteranopia (green-blind)
#615E50
Tritanopia (blue-blind)
#953A47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a4152;
/* rgb */ color: rgb(138, 65, 82);
/* oklch */ color: oklch(47.4% 0.101 7.0);
Tailwind
colors: {
  custom: {
    50: '#af7882',
    500: '#8a4152',
    950: '#000000',
  },
}
SCSS
$custom: #8a4152;
$custom-light: #af7882;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4152",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 82
  },
  "hsl": {
    "h": 346.027,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.10076,
    "h": 7
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#8A4152
secondary
#78AEA2
accent
#CCB25C
background
#FBF7F7
surface
#F6EDEE
border
#D0C8C9
text
#11090A
muted
#807B7C

Preview Lab

Preview with #8A4152

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

Preview Lab → · Contrast checker → · Palette generator →

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