#8A3D5B#8A3D5B

#8A3D5B is a mid, moderate pink. Relative luminance 0.095; OKLCH L 47.1% C 0.110 H 357.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8A3D5B
RGBrgb(138, 61, 91)
HSLhsl(337, 39%, 39%)
HSVhsv(337, 56%, 54%)
CMYKcmyk(0%, 55.8%, 34.1%, 45.9%)
CIE-LABlab(36.92, 36.18, -1.87)
CIE-LCHlch(36.92, 36.23, 357.04°)
OKLaboklab(47.06% 0.11 -0.0044)
OKLCHoklch(47.06% 0.11 357.7)
XYZxyz(14.0390, 9.4975, 10.9893)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D5B #3D8A6C
analogous
#8A3D82 #8A3D5B #8A463D
triadic
#8A3D5B #5B8A3D #3D5B8A
tetradic
#8A3D5B #828A3D #3D8A6C #463D8A
square
#8A3D5B #828A3D #3D8A6C #463D8A
split-complementary
#8A3D5B #3D8A46 #3D828A
monochromatic
#351723 #602A3F #8A3D5B #B25277 #C57C99

Accessibility & contrast

On white

7.24
#8A3D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A3D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3D5B
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D5B#FFFFFF#000000##FFFFFF
##8A3D5B1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5C
Deuteranopia (green-blind)
#5D5C59
Tritanopia (blue-blind)
#943848
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3d5b;
/* rgb */ color: rgb(138, 61, 91);
/* oklch */ color: oklch(47.1% 0.110 357.7);
Tailwind
colors: {
  custom: {
    50: '#af7689',
    500: '#8a3d5b',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d5b;
$custom-light: #af7689;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d5b",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 91
  },
  "hsl": {
    "h": 336.623,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.1101,
    "h": 357.7
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#8A3D5B
secondary
#74AF98
accent
#CFA159
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A3D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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