#8A245B#8A245B

#8A245B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.147 H 351.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A245B
RGBrgb(138, 36, 91)
HSLhsl(328, 59%, 34%)
HSVhsv(328, 74%, 54%)
CMYKcmyk(0%, 73.9%, 34.1%, 45.9%)
CIE-LABlab(32.75, 47.50, -8.08)
CIE-LCHlch(32.75, 48.18, 350.34°)
OKLaboklab(43.96% 0.1453 -0.0209)
OKLCHoklch(43.96% 0.147 351.8)
XYZxyz(13.0012, 7.4219, 10.6434)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A245B #248A53
analogous
#86248A #8A245B #8A2428
triadic
#8A245B #5B8A24 #245B8A
tetradic
#8A245B #8A8624 #248A53 #24288A
square
#8A245B #8A8624 #248A53 #24288A
split-complementary
#8A245B #288A24 #248A86
monochromatic
#290B1B #59173B #8A245B #BB317B #D35699

Accessibility & contrast

On white

8.45
#8A245B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A245B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A245B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A245B#FFFFFF#000000##FFFFFF
##8A245B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35415C
Deuteranopia (green-blind)
#525459
Tritanopia (blue-blind)
#951C3C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a245b;
/* rgb */ color: rgb(138, 36, 91);
/* oklch */ color: oklch(44.0% 0.147 351.8);
Tailwind
colors: {
  custom: {
    50: '#b06889',
    500: '#8a245b',
    950: '#000000',
  },
}
SCSS
$custom: #8a245b;
$custom-light: #b06889;
$custom-dark: #000000;
JSON
{
  "hex": "#8a245b",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 327.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43962,
    "c": 0.1468,
    "h": 351.8
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#8A245B
secondary
#53B781
accent
#E28E46
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A245B

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

Preview Lab → · Contrast checker → · Palette generator →

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