#8A246F#8A246F

#8A246F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.159 H 340.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A246F
RGBrgb(138, 36, 111)
HSLhsl(316, 59%, 34%)
HSVhsv(316, 74%, 54%)
CMYKcmyk(0%, 73.9%, 19.6%, 45.9%)
CIE-LABlab(33.59, 50.18, -19.61)
CIE-LCHlch(33.59, 53.88, 338.65°)
OKLaboklab(44.85% 0.1498 -0.0528)
OKLCHoklch(44.85% 0.159 340.6)
XYZxyz(13.9817, 7.8141, 15.8078)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A246F #248A3F
analogous
#72248A #8A246F #8A243C
triadic
#8A246F #6F8A24 #246F8A
tetradic
#8A246F #8A7224 #248A3F #243C8A
square
#8A246F #8A7224 #248A3F #243C8A
split-complementary
#8A246F #3C8A24 #248A72
monochromatic
#290B21 #591748 #8A246F #BB3196 #D356B2

Accessibility & contrast

On white

8.19
#8A246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A246F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A246F#FFFFFF#000000##FFFFFF
##8A246F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#4C556D
Tritanopia (blue-blind)
#922746
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a246f;
/* rgb */ color: rgb(138, 36, 111);
/* oklch */ color: oklch(44.9% 0.159 340.6);
Tailwind
colors: {
  custom: {
    50: '#b06998',
    500: '#8a246f',
    950: '#000000',
  },
}
SCSS
$custom: #8a246f;
$custom-light: #b06998;
$custom-dark: #000000;
JSON
{
  "hex": "#8a246f",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 315.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.15888,
    "h": 340.6
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#8A246F
secondary
#53B76D
accent
#E26F46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A246F

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

Preview Lab → · Contrast checker → · Palette generator →

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