#8A246B#8A246B

#8A246B is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.156 H 342.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8A246B
RGBrgb(138, 36, 107)
HSLhsl(318, 59%, 34%)
HSVhsv(318, 74%, 54%)
CMYKcmyk(0%, 73.9%, 22.5%, 45.9%)
CIE-LABlab(33.41, 49.61, -17.35)
CIE-LCHlch(33.41, 52.55, 340.72°)
OKLaboklab(44.66% 0.1491 -0.0465)
OKLCHoklch(44.66% 0.156 342.7)
XYZxyz(13.7664, 7.7280, 14.6737)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A246B #248A43
analogous
#76248A #8A246B #8A2438
triadic
#8A246B #6B8A24 #246B8A
tetradic
#8A246B #8A7624 #248A43 #24388A
square
#8A246B #8A7624 #248A43 #24388A
split-complementary
#8A246B #388A24 #248A76
monochromatic
#290B20 #591745 #8A246B #BB3191 #D356AD

Accessibility & contrast

On white

8.25
#8A246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A246B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A246B#FFFFFF#000000##FFFFFF
##8A246B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446D
Deuteranopia (green-blind)
#4D5569
Tritanopia (blue-blind)
#932544
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a246b;
/* rgb */ color: rgb(138, 36, 107);
/* oklch */ color: oklch(44.7% 0.156 342.7);
Tailwind
colors: {
  custom: {
    50: '#b06995',
    500: '#8a246b',
    950: '#000000',
  },
}
SCSS
$custom: #8a246b;
$custom-light: #b06995;
$custom-dark: #000000;
JSON
{
  "hex": "#8a246b",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 318.235,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.15621,
    "h": 342.7
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#8A246B
secondary
#53B771
accent
#E27546
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A246B

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

Preview Lab → · Contrast checker → · Palette generator →

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