#8A2452#8A2452

#8A2452 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.143 H 357.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8A2452
RGBrgb(138, 36, 82)
HSLhsl(333, 59%, 34%)
HSVhsv(333, 74%, 54%)
CMYKcmyk(0%, 73.9%, 40.6%, 45.9%)
CIE-LABlab(32.43, 46.45, -2.71)
CIE-LCHlch(32.43, 46.53, 356.66°)
OKLaboklab(43.62% 0.1425 -0.0065)
OKLCHoklch(43.62% 0.143 357.4)
XYZxyz(12.6360, 7.2758, 8.7200)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2452 #248A5C
analogous
#8A2485 #8A2452 #8A2924
triadic
#8A2452 #528A24 #24528A
tetradic
#8A2452 #858A24 #248A5C #29248A
square
#8A2452 #858A24 #248A5C #29248A
split-complementary
#8A2452 #248A29 #24858A
monochromatic
#290B18 #591735 #8A2452 #BB316F #D3568E

Accessibility & contrast

On white

8.55
#8A2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2452
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2452#FFFFFF#000000##FFFFFF
##8A24521.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#545350
Tritanopia (blue-blind)
#951838
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2452;
/* rgb */ color: rgb(138, 36, 82);
/* oklch */ color: oklch(43.6% 0.143 357.4);
Tailwind
colors: {
  custom: {
    50: '#b16882',
    500: '#8a2452',
    950: '#000000',
  },
}
SCSS
$custom: #8a2452;
$custom-light: #b16882;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2452",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 332.941,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.14266,
    "h": 357.4
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#8A2452
secondary
#53B78A
accent
#E29C46
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2452

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

Preview Lab → · Contrast checker → · Palette generator →

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