#8A3858#8A3858

#8A3858 is a mid, moderate pink. Relative luminance 0.089; OKLCH L 46.2% C 0.117 H 358.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8A3858
RGBrgb(138, 56, 88)
HSLhsl(337, 42%, 38%)
HSVhsv(337, 59%, 54%)
CMYKcmyk(0%, 59.4%, 36.2%, 45.9%)
CIE-LABlab(35.86, 38.34, -1.52)
CIE-LCHlch(35.86, 38.37, 357.73°)
OKLaboklab(46.23% 0.1168 -0.0035)
OKLCHoklch(46.23% 0.117 358.3)
XYZxyz(13.6576, 8.9376, 10.2365)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3858 #388A6A
analogous
#8A3881 #8A3858 #8A4138
triadic
#8A3858 #588A38 #38588A
tetradic
#8A3858 #818A38 #388A6A #41388A
square
#8A3858 #818A38 #388A6A #41388A
split-complementary
#8A3858 #388A41 #38818A
monochromatic
#331520 #5E263C #8A3858 #B54A74 #C77595

Accessibility & contrast

On white

7.53
#8A3858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A3858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3858
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3858#FFFFFF#000000##FFFFFF
##8A38581.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B59
Deuteranopia (green-blind)
#5B5A56
Tritanopia (blue-blind)
#953144
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3858;
/* rgb */ color: rgb(138, 56, 88);
/* oklch */ color: oklch(46.2% 0.117 358.3);
Tailwind
colors: {
  custom: {
    50: '#af7287',
    500: '#8a3858',
    950: '#000000',
  },
}
SCSS
$custom: #8a3858;
$custom-light: #af7287;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3858",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 88
  },
  "hsl": {
    "h": 336.585,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.11688,
    "h": 358.3
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#8A3858
secondary
#6EB096
accent
#D2A256
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A3858

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

Preview Lab → · Contrast checker → · Palette generator →

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