#8A415F#8A415F

#8A415F is a mid, moderate pink. Relative luminance 0.100; OKLCH L 47.8% C 0.105 H 355.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A415F
RGBrgb(138, 65, 95)
HSLhsl(335, 36%, 40%)
HSVhsv(335, 53%, 54%)
CMYKcmyk(0%, 52.9%, 31.2%, 45.9%)
CIE-LABlab(37.86, 34.61, -3.01)
CIE-LCHlch(37.86, 34.75, 355.03°)
OKLaboklab(47.8% 0.105 -0.0075)
OKLCHoklch(47.8% 0.105 355.9)
XYZxyz(14.4377, 10.0114, 11.9963)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A415F #418A6C
analogous
#8A4184 #8A415F #8A4741
triadic
#8A415F #5F8A41 #415F8A
tetradic
#8A415F #848A41 #418A6C #47418A
square
#8A415F #848A41 #418A6C #47418A
split-complementary
#8A415F #418A47 #41848A
monochromatic
#371A26 #602D42 #8A415F #B0587C #C4829D

Accessibility & contrast

On white

7.00
#8A415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A415F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A415F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A415F#FFFFFF#000000##FFFFFF
##8A415F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#5E5E5D
Tritanopia (blue-blind)
#943D4C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a415f;
/* rgb */ color: rgb(138, 65, 95);
/* oklch */ color: oklch(47.8% 0.105 355.9);
Tailwind
colors: {
  custom: {
    50: '#af788c',
    500: '#8a415f',
    950: '#000000',
  },
}
SCSS
$custom: #8a415f;
$custom-light: #af788c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a415f",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 335.342,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.10524,
    "h": 355.9
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#8A415F
secondary
#78AE98
accent
#CC9E5C
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A415F

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

Preview Lab → · Contrast checker → · Palette generator →

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