#8A2852#8A2852

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

Color values

HEX#8A2852
RGBrgb(138, 40, 82)
HSLhsl(334, 55%, 35%)
HSVhsv(334, 71%, 54%)
CMYKcmyk(0%, 71%, 40.6%, 45.9%)
CIE-LABlab(32.99, 44.89, -1.89)
CIE-LCHlch(32.99, 44.93, 357.59°)
OKLaboklab(44.03% 0.1376 -0.0044)
OKLCHoklch(44.03% 0.138 358.2)
XYZxyz(12.7639, 7.5316, 8.7626)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2852 #288A60
analogous
#8A2883 #8A2852 #8A2F28
triadic
#8A2852 #528A28 #28528A
tetradic
#8A2852 #838A28 #288A60 #2F288A
square
#8A2852 #838A28 #288A60 #2F288A
split-complementary
#8A2852 #288A2F #28838A
monochromatic
#2B0C1A #5B1A36 #8A2852 #B9366E #D05D8E

Accessibility & contrast

On white

8.38
#8A2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A2852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2852
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2852#FFFFFF#000000##FFFFFF
##8A28521.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#565450
Tritanopia (blue-blind)
#951D39
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2852;
/* rgb */ color: rgb(138, 40, 82);
/* oklch */ color: oklch(44.0% 0.138 358.2);
Tailwind
colors: {
  custom: {
    50: '#b06a82',
    500: '#8a2852',
    950: '#000000',
  },
}
SCSS
$custom: #8a2852;
$custom-light: #b06a82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2852",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 334.286,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.13763,
    "h": 358.2
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#8A2852
secondary
#59B58E
accent
#DE9F49
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2852

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

Preview Lab → · Contrast checker → · Palette generator →

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