#8A4252#8A4252

#8A4252 is a mid, moderate red. Relative luminance 0.099; OKLCH L 47.5% C 0.099 H 7.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8A4252
RGBrgb(138, 66, 82)
HSLhsl(347, 35%, 40%)
HSVhsv(347, 52%, 54%)
CMYKcmyk(0%, 52.2%, 40.6%, 45.9%)
CIE-LABlab(37.68, 32.38, 4.92)
CIE-LCHlch(37.68, 32.75, 8.64°)
OKLaboklab(47.54% 0.0983 0.0131)
OKLCHoklch(47.54% 0.099 7.6)
XYZxyz(13.9532, 9.9103, 9.1590)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4252 #428A7A
analogous
#8A4276 #8A4252 #8A5642
triadic
#8A4252 #528A42 #42528A
tetradic
#8A4252 #768A42 #428A7A #56428A
square
#8A4252 #768A42 #428A7A #56428A
split-complementary
#8A4252 #428A56 #42768A
monochromatic
#371A21 #612E39 #8A4252 #B0596D #C48391

Accessibility & contrast

On white

7.04
#8A4252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A4252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A4252
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4252#FFFFFF#000000##FFFFFF
##8A42521.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5052
Deuteranopia (green-blind)
#625E50
Tritanopia (blue-blind)
#953B48
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a4252;
/* rgb */ color: rgb(138, 66, 82);
/* oklch */ color: oklch(47.5% 0.099 7.6);
Tailwind
colors: {
  custom: {
    50: '#af7982',
    500: '#8a4252',
    950: '#000000',
  },
}
SCSS
$custom: #8a4252;
$custom-light: #af7982;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4252",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 346.667,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.0992,
    "h": 7.6
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#8A4252
secondary
#79AEA3
accent
#CBB35C
background
#FBF7F7
surface
#F6EDEE
border
#D0C8C9
text
#11090A
muted
#807B7C

Preview Lab

Preview with #8A4252

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

Preview Lab → · Contrast checker → · Palette generator →

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