#8A3D58#8A3D58

#8A3D58 is a mid, moderate pink. Relative luminance 0.094; OKLCH L 47.0% C 0.109 H 0.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A3D58
RGBrgb(138, 61, 88)
HSLhsl(339, 39%, 39%)
HSVhsv(339, 56%, 54%)
CMYKcmyk(0%, 55.8%, 36.2%, 45.9%)
CIE-LABlab(36.83, 35.79, -0.10)
CIE-LCHlch(36.83, 35.79, 359.83°)
OKLaboklab(46.96% 0.1089 0.0002)
OKLCHoklch(46.96% 0.109 0.1)
XYZxyz(13.9121, 9.4467, 10.3214)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D58 #3D8A6F
analogous
#8A3D7F #8A3D58 #8A493D
triadic
#8A3D58 #588A3D #3D588A
tetradic
#8A3D58 #7F8A3D #3D8A6F #493D8A
square
#8A3D58 #7F8A3D #3D8A6F #493D8A
split-complementary
#8A3D58 #3D8A49 #3D7F8A
monochromatic
#351722 #602A3D #8A3D58 #B25274 #C57C96

Accessibility & contrast

On white

7.27
#8A3D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A3D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3D58
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D58#FFFFFF#000000##FFFFFF
##8A3D581.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#5E5C56
Tritanopia (blue-blind)
#943747
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3d58;
/* rgb */ color: rgb(138, 61, 88);
/* oklch */ color: oklch(47.0% 0.109 0.1);
Tailwind
colors: {
  custom: {
    50: '#af7687',
    500: '#8a3d58',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d58;
$custom-light: #af7687;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d58",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 88
  },
  "hsl": {
    "h": 338.961,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.10891,
    "h": 0.1
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#8A3D58
secondary
#74AF9A
accent
#CFA559
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A3D58

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

Preview Lab → · Contrast checker → · Palette generator →

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