#8A386D#8A386D

#8A386D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.0% C 0.129 H 343.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A386D
RGBrgb(138, 56, 109)
HSLhsl(321, 42%, 38%)
HSVhsv(321, 59%, 54%)
CMYKcmyk(0%, 59.4%, 21%, 45.9%)
CIE-LABlab(36.63, 41.29, -13.69)
CIE-LCHlch(36.63, 43.50, 341.66°)
OKLaboklab(47.05% 0.1234 -0.0364)
OKLCHoklch(47.05% 0.129 343.6)
XYZxyz(14.6561, 9.3370, 15.4954)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A386D #388A55
analogous
#7E388A #8A386D #8A3844
triadic
#8A386D #6D8A38 #386D8A
tetradic
#8A386D #8A7E38 #388A55 #38448A
square
#8A386D #8A7E38 #388A55 #38448A
split-complementary
#8A386D #448A38 #388A7E
monochromatic
#331528 #5E264B #8A386D #B54A8F #C775AA

Accessibility & contrast

On white

7.32
#8A386D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A386D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A386D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A386D#FFFFFF#000000##FFFFFF
##8A386D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#565B6B
Tritanopia (blue-blind)
#92384D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a386d;
/* rgb */ color: rgb(138, 56, 109);
/* oklch */ color: oklch(47.0% 0.129 343.6);
Tailwind
colors: {
  custom: {
    50: '#af7397',
    500: '#8a386d',
    950: '#000000',
  },
}
SCSS
$custom: #8a386d;
$custom-light: #af7397;
$custom-dark: #000000;
JSON
{
  "hex": "#8a386d",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 109
  },
  "hsl": {
    "h": 321.22,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.12865,
    "h": 343.6
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#8A386D
secondary
#6EB085
accent
#D28256
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A386D

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

Preview Lab → · Contrast checker → · Palette generator →

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