#8A4276#8A4276

#8A4276 is a mid, moderate pink. Relative luminance 0.106; OKLCH L 48.9% C 0.118 H 339.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A4276
RGBrgb(138, 66, 118)
HSLhsl(317, 35%, 40%)
HSVhsv(317, 52%, 54%)
CMYKcmyk(0%, 52.2%, 14.5%, 45.9%)
CIE-LABlab(38.91, 37.64, -15.81)
CIE-LCHlch(38.91, 40.83, 337.22°)
OKLaboklab(48.87% 0.1105 -0.0424)
OKLCHoklch(48.87% 0.118 339)
XYZxyz(15.6996, 10.6088, 18.3568)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4276 #428A56
analogous
#7A428A #8A4276 #8A4252
triadic
#8A4276 #768A42 #42768A
tetradic
#8A4276 #8A7A42 #428A56 #42528A
square
#8A4276 #8A7A42 #428A56 #42528A
split-complementary
#8A4276 #528A42 #428A7A
monochromatic
#371A2F #612E53 #8A4276 #B05998 #C483B2

Accessibility & contrast

On white

6.73
#8A4276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A4276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4276
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4276#FFFFFF#000000##FFFFFF
##8A42761.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455578
Deuteranopia (green-blind)
#596074
Tritanopia (blue-blind)
#914456
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4276;
/* rgb */ color: rgb(138, 66, 118);
/* oklch */ color: oklch(48.9% 0.118 339.0);
Tailwind
colors: {
  custom: {
    50: '#ae799d',
    500: '#8a4276',
    950: '#000000',
  },
}
SCSS
$custom: #8a4276;
$custom-light: #ae799d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4276",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 316.667,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.11836,
    "h": 339
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#8A4276
secondary
#79AE88
accent
#CB7B5C
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4276

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

Preview Lab → · Contrast checker → · Palette generator →

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