#8A245C#8A245C

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

Color values

HEX#8A245C
RGBrgb(138, 36, 92)
HSLhsl(327, 59%, 34%)
HSVhsv(327, 74%, 54%)
CMYKcmyk(0%, 73.9%, 33.3%, 45.9%)
CIE-LABlab(32.79, 47.62, -8.67)
CIE-LCHlch(32.79, 48.41, 349.68°)
OKLaboklab(44% 0.1456 -0.0225)
OKLCHoklch(44% 0.147 351.2)
XYZxyz(13.0446, 7.4392, 10.8721)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A245C #248A52
analogous
#85248A #8A245C #8A2429
triadic
#8A245C #5C8A24 #245C8A
tetradic
#8A245C #8A8524 #248A52 #24298A
square
#8A245C #8A8524 #248A52 #24298A
split-complementary
#8A245C #298A24 #248A85
monochromatic
#290B1B #59173C #8A245C #BB317C #D3569A

Accessibility & contrast

On white

8.44
#8A245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A245C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A245C#FFFFFF#000000##FFFFFF
##8A245C1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35415E
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#951D3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a245c;
/* rgb */ color: rgb(138, 36, 92);
/* oklch */ color: oklch(44.0% 0.147 351.2);
Tailwind
colors: {
  custom: {
    50: '#b0688a',
    500: '#8a245c',
    950: '#000000',
  },
}
SCSS
$custom: #8a245c;
$custom-light: #b0688a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a245c",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 327.059,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.14732,
    "h": 351.2
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#8A245C
secondary
#53B780
accent
#E28C46
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A245C

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

Preview Lab → · Contrast checker → · Palette generator →

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