#8A415D#8A415D

#8A415D is a mid, moderate pink. Relative luminance 0.100; OKLCH L 47.7% C 0.104 H 357.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A415D
RGBrgb(138, 65, 93)
HSLhsl(337, 36%, 40%)
HSVhsv(337, 53%, 54%)
CMYKcmyk(0%, 52.9%, 32.6%, 45.9%)
CIE-LABlab(37.80, 34.34, -1.85)
CIE-LCHlch(37.80, 34.39, 356.92°)
OKLaboklab(47.73% 0.1042 -0.0044)
OKLCHoklch(47.73% 0.104 357.6)
XYZxyz(14.3479, 9.9755, 11.5236)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A415D #418A6E
analogous
#8A4182 #8A415D #8A4941
triadic
#8A415D #5D8A41 #415D8A
tetradic
#8A415D #828A41 #418A6E #49418A
square
#8A415D #828A41 #418A6E #49418A
split-complementary
#8A415D #418A49 #41828A
monochromatic
#371A25 #602D41 #8A415D #B0587A #C4829B

Accessibility & contrast

On white

7.01
#8A415D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A415D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A415D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A415D#FFFFFF#000000##FFFFFF
##8A415D1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515E
Deuteranopia (green-blind)
#5F5E5B
Tritanopia (blue-blind)
#943C4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a415d;
/* rgb */ color: rgb(138, 65, 93);
/* oklch */ color: oklch(47.7% 0.104 357.6);
Tailwind
colors: {
  custom: {
    50: '#af788a',
    500: '#8a415d',
    950: '#000000',
  },
}
SCSS
$custom: #8a415d;
$custom-light: #af788a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a415d",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 93
  },
  "hsl": {
    "h": 336.986,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.10433,
    "h": 357.6
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#8A415D
secondary
#78AE9A
accent
#CCA15C
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A415D

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

Preview Lab → · Contrast checker → · Palette generator →

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