#8A245E#8A245E

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

Color values

HEX#8A245E
RGBrgb(138, 36, 94)
HSLhsl(326, 59%, 34%)
HSVhsv(326, 74%, 54%)
CMYKcmyk(0%, 73.9%, 31.9%, 45.9%)
CIE-LABlab(32.86, 47.87, -9.85)
CIE-LCHlch(32.86, 48.87, 348.38°)
OKLaboklab(44.08% 0.1461 -0.0257)
OKLCHoklch(44.08% 0.148 350)
XYZxyz(13.1332, 7.4747, 11.3386)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A245E #248A50
analogous
#83248A #8A245E #8A242B
triadic
#8A245E #5E8A24 #245E8A
tetradic
#8A245E #8A8324 #248A50 #242B8A
square
#8A245E #8A8324 #248A50 #242B8A
split-complementary
#8A245E #2B8A24 #248A83
monochromatic
#290B1C #59173D #8A245E #BB317F #D3569D

Accessibility & contrast

On white

8.42
#8A245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A245E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A245E#FFFFFF#000000##FFFFFF
##8A245E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344260
Deuteranopia (green-blind)
#51545C
Tritanopia (blue-blind)
#941E3E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a245e;
/* rgb */ color: rgb(138, 36, 94);
/* oklch */ color: oklch(44.1% 0.148 350.0);
Tailwind
colors: {
  custom: {
    50: '#b0688b',
    500: '#8a245e',
    950: '#000000',
  },
}
SCSS
$custom: #8a245e;
$custom-light: #b0688b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a245e",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 325.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44084,
    "c": 0.14838,
    "h": 350
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#8A245E
secondary
#53B77E
accent
#E28946
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A245E

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

Preview Lab → · Contrast checker → · Palette generator →

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