#8A3862#8A3862

#8A3862 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.6% C 0.122 H 351.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8A3862
RGBrgb(138, 56, 98)
HSLhsl(329, 42%, 38%)
HSVhsv(329, 59%, 54%)
CMYKcmyk(0%, 59.4%, 29%, 45.9%)
CIE-LABlab(36.20, 39.67, -7.38)
CIE-LCHlch(36.20, 40.35, 349.47°)
OKLaboklab(46.6% 0.1202 -0.0191)
OKLCHoklch(46.6% 0.122 351)
XYZxyz(14.1006, 9.1148, 12.5696)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3862 #388A60
analogous
#89388A #8A3862 #8A3839
triadic
#8A3862 #628A38 #38628A
tetradic
#8A3862 #8A8938 #388A60 #38398A
square
#8A3862 #8A8938 #388A60 #38398A
split-complementary
#8A3862 #398A38 #388A89
monochromatic
#331524 #5E2643 #8A3862 #B54A81 #C7759F

Accessibility & contrast

On white

7.44
#8A3862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A3862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3862
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3862#FFFFFF#000000##FFFFFF
##8A38621.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C63
Deuteranopia (green-blind)
#595B60
Tritanopia (blue-blind)
#943448
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3862;
/* rgb */ color: rgb(138, 56, 98);
/* oklch */ color: oklch(46.6% 0.122 351.0);
Tailwind
colors: {
  custom: {
    50: '#af738e',
    500: '#8a3862',
    950: '#000000',
  },
}
SCSS
$custom: #8a3862;
$custom-light: #af738e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3862",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 98
  },
  "hsl": {
    "h": 329.268,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.12172,
    "h": 351
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#8A3862
secondary
#6EB08E
accent
#D29256
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3862

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

Preview Lab → · Contrast checker → · Palette generator →

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