#8A245D#8A245D

#8A245D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.0% C 0.148 H 350.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8A245D
RGBrgb(138, 36, 93)
HSLhsl(326, 59%, 34%)
HSVhsv(326, 74%, 54%)
CMYKcmyk(0%, 73.9%, 32.6%, 45.9%)
CIE-LABlab(32.83, 47.75, -9.26)
CIE-LCHlch(32.83, 48.64, 349.03°)
OKLaboklab(44.04% 0.1459 -0.0241)
OKLCHoklch(44.04% 0.148 350.6)
XYZxyz(13.0886, 7.4568, 11.1038)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A245D #248A51
analogous
#84248A #8A245D #8A242A
triadic
#8A245D #5D8A24 #245D8A
tetradic
#8A245D #8A8424 #248A51 #242A8A
square
#8A245D #8A8424 #248A51 #242A8A
split-complementary
#8A245D #2A8A24 #248A84
monochromatic
#290B1C #59173C #8A245D #BB317E #D3569C

Accessibility & contrast

On white

8.43
#8A245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A245D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A245D#FFFFFF#000000##FFFFFF
##8A245D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34425F
Deuteranopia (green-blind)
#52545B
Tritanopia (blue-blind)
#941E3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a245d;
/* rgb */ color: rgb(138, 36, 93);
/* oklch */ color: oklch(44.0% 0.148 350.6);
Tailwind
colors: {
  custom: {
    50: '#b0688b',
    500: '#8a245d',
    950: '#000000',
  },
}
SCSS
$custom: #8a245d;
$custom-light: #b0688b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a245d",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 326.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.14784,
    "h": 350.6
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#8A245D
secondary
#53B77F
accent
#E28B46
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A245D

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

Preview Lab → · Contrast checker → · Palette generator →

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