#8A415C#8A415C

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

Color values

HEX#8A415C
RGBrgb(138, 65, 92)
HSLhsl(338, 36%, 40%)
HSVhsv(338, 53%, 54%)
CMYKcmyk(0%, 52.9%, 33.3%, 45.9%)
CIE-LABlab(37.77, 34.20, -1.26)
CIE-LCHlch(37.77, 34.23, 357.88°)
OKLaboklab(47.7% 0.1039 -0.0029)
OKLCHoklch(47.7% 0.104 358.4)
XYZxyz(14.3039, 9.9579, 11.2919)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A415C #418A6F
analogous
#8A4181 #8A415C #8A4A41
triadic
#8A415C #5C8A41 #415C8A
tetradic
#8A415C #818A41 #418A6F #4A418A
square
#8A415C #818A41 #418A6F #4A418A
split-complementary
#8A415C #418A4A #41818A
monochromatic
#371A25 #602D40 #8A415C #B05879 #C4829A

Accessibility & contrast

On white

7.02
#8A415C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A415C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A415C#FFFFFF#000000##FFFFFF
##8A415C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a415c;
/* rgb */ color: rgb(138, 65, 92);
/* oklch */ color: oklch(47.7% 0.104 358.4);
Tailwind
colors: {
  custom: {
    50: '#af788a',
    500: '#8a415c',
    950: '#000000',
  },
}
SCSS
$custom: #8a415c;
$custom-light: #af788a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a415c",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 337.808,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47699,
    "c": 0.10391,
    "h": 358.4
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A415C

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

Preview Lab → · Contrast checker → · Palette generator →

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