#8A4159#8A4159

#8A4159 is a mid, moderate pink. Relative luminance 0.099; OKLCH L 47.6% C 0.103 H 1.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8A4159
RGBrgb(138, 65, 89)
HSLhsl(340, 36%, 40%)
HSVhsv(340, 53%, 54%)
CMYKcmyk(0%, 52.9%, 35.5%, 45.9%)
CIE-LABlab(37.67, 33.80, 0.49)
CIE-LCHlch(37.67, 33.81, 0.84°)
OKLaboklab(47.6% 0.1028 0.0017)
OKLCHoklch(47.6% 0.103 1)
XYZxyz(14.1754, 9.9065, 10.6148)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4159 #418A72
analogous
#8A417E #8A4159 #8A4D41
triadic
#8A4159 #598A41 #41598A
tetradic
#8A4159 #7E8A41 #418A72 #4D418A
square
#8A4159 #7E8A41 #418A72 #4D418A
split-complementary
#8A4159 #418A4D #417E8A
monochromatic
#371A23 #602D3E #8A4159 #B05875 #C48297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A4159#FFFFFF#000000##FFFFFF
##8A41591.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)
#4D505A
Deuteranopia (green-blind)
#605E57
Tritanopia (blue-blind)
#943B4A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a4159;
/* rgb */ color: rgb(138, 65, 89);
/* oklch */ color: oklch(47.6% 0.103 1.0);
Tailwind
colors: {
  custom: {
    50: '#af7887',
    500: '#8a4159',
    950: '#000000',
  },
}
SCSS
$custom: #8a4159;
$custom-light: #af7887;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4159",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 89
  },
  "hsl": {
    "h": 340.274,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47599,
    "c": 0.10276,
    "h": 1
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#8A4159
secondary
#78AE9D
accent
#CCA75C
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A4159

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

Preview Lab → · Contrast checker → · Palette generator →

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