#8A5262#8A5262

#8A5262 is a mid, moderate pink. Relative luminance 0.123; OKLCH L 50.8% C 0.077 H 1.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A5262
RGBrgb(138, 82, 98)
HSLhsl(343, 25%, 43%)
HSVhsv(343, 41%, 54%)
CMYKcmyk(0%, 40.6%, 29%, 45.9%)
CIE-LABlab(41.72, 25.56, 0.78)
CIE-LCHlch(41.72, 25.57, 1.74°)
OKLaboklab(50.75% 0.0773 0.0024)
OKLCHoklch(50.75% 0.077 1.8)
XYZxyz(15.7036, 12.3208, 13.1040)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5262 #528A7A
analogous
#8A527E #8A5262 #8A5E52
triadic
#8A5262 #628A52 #52628A
tetradic
#8A5262 #7E8A52 #528A7A #5E528A
square
#8A5262 #7E8A52 #528A7A #5E528A
split-complementary
#8A5262 #528A5E #527E8A
monochromatic
#3D242B #643B47 #8A5262 #AA6F80 #C196A2

Accessibility & contrast

On white

6.06
#8A5262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A5262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5262
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5262#FFFFFF#000000##FFFFFF
##8A52621.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5C62
Deuteranopia (green-blind)
#686661
Tritanopia (blue-blind)
#934E58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a5262;
/* rgb */ color: rgb(138, 82, 98);
/* oklch */ color: oklch(50.8% 0.077 1.8);
Tailwind
colors: {
  custom: {
    50: '#ae838e',
    500: '#8a5262',
    950: '#000000',
  },
}
SCSS
$custom: #8a5262;
$custom-light: #ae838e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5262",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 342.857,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.07734,
    "h": 1.8
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#8A5262
secondary
#8AAEA3
accent
#C2A866
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#100B0C
muted
#7F7C7D

Preview Lab

Preview with #8A5262

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

Preview Lab → · Contrast checker → · Palette generator →

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