#8A2862#8A2862

#8A2862 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.145 H 348.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8A2862
RGBrgb(138, 40, 98)
HSLhsl(324, 55%, 35%)
HSVhsv(324, 71%, 54%)
CMYKcmyk(0%, 71%, 29%, 45.9%)
CIE-LABlab(33.57, 46.85, -11.35)
CIE-LCHlch(33.57, 48.21, 346.39°)
OKLaboklab(44.65% 0.1424 -0.0298)
OKLCHoklch(44.65% 0.146 348.2)
XYZxyz(13.4452, 7.8041, 12.3512)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2862 #288A50
analogous
#81288A #8A2862 #8A2831
triadic
#8A2862 #628A28 #28628A
tetradic
#8A2862 #8A8128 #288A50 #28318A
square
#8A2862 #8A8128 #288A50 #28318A
split-complementary
#8A2862 #318A28 #288A81
monochromatic
#2B0C1F #5B1A40 #8A2862 #B93684 #D05DA1

Accessibility & contrast

On white

8.20
#8A2862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2862
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2862#FFFFFF#000000##FFFFFF
##8A28621.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354464
Deuteranopia (green-blind)
#525560
Tritanopia (blue-blind)
#942441
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2862;
/* rgb */ color: rgb(138, 40, 98);
/* oklch */ color: oklch(44.7% 0.145 348.2);
Tailwind
colors: {
  custom: {
    50: '#b06a8e',
    500: '#8a2862',
    950: '#000000',
  },
}
SCSS
$custom: #8a2862;
$custom-light: #b06a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2862",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 324.49,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.1455,
    "h": 348.2
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#8A2862
secondary
#59B57E
accent
#DE8649
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2862

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

Preview Lab → · Contrast checker → · Palette generator →

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