#8A415B#8A415B

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

Color values

HEX#8A415B
RGBrgb(138, 65, 91)
HSLhsl(339, 36%, 40%)
HSVhsv(339, 53%, 54%)
CMYKcmyk(0%, 52.9%, 34.1%, 45.9%)
CIE-LABlab(37.74, 34.07, -0.68)
CIE-LCHlch(37.74, 34.07, 358.86°)
OKLaboklab(47.67% 0.1035 -0.0013)
OKLCHoklch(47.67% 0.104 359.3)
XYZxyz(14.2605, 9.9405, 11.0632)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A415B #418A70
analogous
#8A4180 #8A415B #8A4B41
triadic
#8A415B #5B8A41 #415B8A
tetradic
#8A415B #808A41 #418A70 #4B418A
square
#8A415B #808A41 #418A70 #4B418A
split-complementary
#8A415B #418A4B #41808A
monochromatic
#371A24 #602D40 #8A415B #B05877 #C48299

Accessibility & contrast

On white

7.03
#8A415B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A415B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A415B#FFFFFF#000000##FFFFFF
##8A415B1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a415b;
/* rgb */ color: rgb(138, 65, 91);
/* oklch */ color: oklch(47.7% 0.104 359.3);
Tailwind
colors: {
  custom: {
    50: '#af7889',
    500: '#8a415b',
    950: '#000000',
  },
}
SCSS
$custom: #8a415b;
$custom-light: #af7889;
$custom-dark: #000000;
JSON
{
  "hex": "#8a415b",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 338.63,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.10351,
    "h": 359.3
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#8A415B
secondary
#78AE9B
accent
#CCA45C
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A415B

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

Preview Lab → · Contrast checker → · Palette generator →

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