#8A4277#8A4277

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

Color values

HEX#8A4277
RGBrgb(138, 66, 119)
HSLhsl(316, 35%, 40%)
HSVhsv(316, 52%, 54%)
CMYKcmyk(0%, 52.2%, 13.8%, 45.9%)
CIE-LABlab(38.95, 37.81, -16.36)
CIE-LCHlch(38.95, 41.20, 336.60°)
OKLaboklab(48.91% 0.1108 -0.044)
OKLCHoklch(48.91% 0.119 338.3)
XYZxyz(15.7594, 10.6327, 18.6715)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4277 #428A55
analogous
#79428A #8A4277 #8A4253
triadic
#8A4277 #778A42 #42778A
tetradic
#8A4277 #8A7942 #428A55 #42538A
square
#8A4277 #8A7942 #428A55 #42538A
split-complementary
#8A4277 #538A42 #428A79
monochromatic
#371A30 #612E53 #8A4277 #B05999 #C483B3

Accessibility & contrast

On white

6.72
#8A4277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A4277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4277
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4277#FFFFFF#000000##FFFFFF
##8A42771.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445579
Deuteranopia (green-blind)
#586075
Tritanopia (blue-blind)
#914457
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4277;
/* rgb */ color: rgb(138, 66, 119);
/* oklch */ color: oklch(48.9% 0.119 338.3);
Tailwind
colors: {
  custom: {
    50: '#ae799e',
    500: '#8a4277',
    950: '#000000',
  },
}
SCSS
$custom: #8a4277;
$custom-light: #ae799e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4277",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 315.833,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.11917,
    "h": 338.3
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#8A4277
secondary
#79AE87
accent
#CB7A5C
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4277

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

Preview Lab → · Contrast checker → · Palette generator →

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