#8A246E#8A246E

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

Color values

HEX#8A246E
RGBrgb(138, 36, 110)
HSLhsl(316, 59%, 34%)
HSVhsv(316, 74%, 54%)
CMYKcmyk(0%, 73.9%, 20.3%, 45.9%)
CIE-LABlab(33.55, 50.04, -19.05)
CIE-LCHlch(33.55, 53.54, 339.16°)
OKLaboklab(44.81% 0.1497 -0.0513)
OKLCHoklch(44.81% 0.158 341.1)
XYZxyz(13.9270, 7.7922, 15.5194)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A246E #248A40
analogous
#73248A #8A246E #8A243B
triadic
#8A246E #6E8A24 #246E8A
tetradic
#8A246E #8A7324 #248A40 #243B8A
square
#8A246E #8A7324 #248A40 #243B8A
split-complementary
#8A246E #3B8A24 #248A73
monochromatic
#290B21 #591747 #8A246E #BB3195 #D356B0

Accessibility & contrast

On white

8.21
#8A246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A246E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A246E#FFFFFF#000000##FFFFFF
##8A246E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#932646
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a246e;
/* rgb */ color: rgb(138, 36, 110);
/* oklch */ color: oklch(44.8% 0.158 341.1);
Tailwind
colors: {
  custom: {
    50: '#b06997',
    500: '#8a246e',
    950: '#000000',
  },
}
SCSS
$custom: #8a246e;
$custom-light: #b06997;
$custom-dark: #000000;
JSON
{
  "hex": "#8a246e",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 316.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44805,
    "c": 0.1582,
    "h": 341.1
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#8A246E
secondary
#53B76E
accent
#E27146
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A246E

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

Preview Lab → · Contrast checker → · Palette generator →

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