#8A246D#8A246D

#8A246D is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.158 H 341.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8A246D
RGBrgb(138, 36, 109)
HSLhsl(317, 59%, 34%)
HSVhsv(317, 74%, 54%)
CMYKcmyk(0%, 73.9%, 21%, 45.9%)
CIE-LABlab(33.50, 49.89, -18.48)
CIE-LCHlch(33.50, 53.21, 339.67°)
OKLaboklab(44.76% 0.1495 -0.0497)
OKLCHoklch(44.76% 0.158 341.6)
XYZxyz(13.8729, 7.7705, 15.2343)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A246D #248A41
analogous
#74248A #8A246D #8A243A
triadic
#8A246D #6D8A24 #246D8A
tetradic
#8A246D #8A7424 #248A41 #243A8A
square
#8A246D #8A7424 #248A41 #243A8A
split-complementary
#8A246D #3A8A24 #248A74
monochromatic
#290B20 #591747 #8A246D #BB3193 #D356AF

Accessibility & contrast

On white

8.22
#8A246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A246D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A246D#FFFFFF#000000##FFFFFF
##8A246D1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#932645
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a246d;
/* rgb */ color: rgb(138, 36, 109);
/* oklch */ color: oklch(44.8% 0.158 341.6);
Tailwind
colors: {
  custom: {
    50: '#b06997',
    500: '#8a246d',
    950: '#000000',
  },
}
SCSS
$custom: #8a246d;
$custom-light: #b06997;
$custom-dark: #000000;
JSON
{
  "hex": "#8a246d",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 317.059,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44757,
    "c": 0.15753,
    "h": 341.6
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#8A246D
secondary
#53B76F
accent
#E27246
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A246D

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

Preview Lab → · Contrast checker → · Palette generator →

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