#8A3F5D#8A3F5D

#8A3F5D is a mid, moderate pink. Relative luminance 0.097; OKLCH L 47.4% C 0.108 H 356.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A3F5D
RGBrgb(138, 63, 93)
HSLhsl(336, 37%, 39%)
HSVhsv(336, 54%, 54%)
CMYKcmyk(0%, 54.3%, 32.6%, 45.9%)
CIE-LABlab(37.39, 35.40, -2.45)
CIE-LCHlch(37.39, 35.49, 356.04°)
OKLaboklab(47.43% 0.1075 -0.006)
OKLCHoklch(47.43% 0.108 356.8)
XYZxyz(14.2352, 9.7499, 11.4860)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F5D #3F8A6C
analogous
#8A3F83 #8A3F5D #8A473F
triadic
#8A3F5D #5D8A3F #3F5D8A
tetradic
#8A3F5D #838A3F #3F8A6C #473F8A
square
#8A3F5D #838A3F #3F8A6C #473F8A
split-complementary
#8A3F5D #3F8A47 #3F838A
monochromatic
#361924 #602C41 #8A3F5D #B1557A #C57F9B

Accessibility & contrast

On white

7.12
#8A3F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A3F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3F5D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F5D#FFFFFF#000000##FFFFFF
##8A3F5D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5E
Deuteranopia (green-blind)
#5E5D5B
Tritanopia (blue-blind)
#943A4A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3f5d;
/* rgb */ color: rgb(138, 63, 93);
/* oklch */ color: oklch(47.4% 0.108 356.8);
Tailwind
colors: {
  custom: {
    50: '#af778a',
    500: '#8a3f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f5d;
$custom-light: #af778a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f5d",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 93
  },
  "hsl": {
    "h": 336,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.10768,
    "h": 356.8
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#8A3F5D
secondary
#76AF98
accent
#CD9F5B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A3F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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