#8A2D4F#8A2D4F

#8A2D4F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.130 H 1.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A2D4F
RGBrgb(138, 45, 79)
HSLhsl(338, 51%, 36%)
HSVhsv(338, 67%, 54%)
CMYKcmyk(0%, 67.4%, 42.8%, 45.9%)
CIE-LABlab(33.66, 42.45, 1.04)
CIE-LCHlch(33.66, 42.46, 1.41°)
OKLaboklab(44.5% 0.1298 0.0032)
OKLCHoklch(44.5% 0.13 1.4)
XYZxyz(12.8318, 7.8461, 8.2343)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D4F #2D8A68
analogous
#8A2D7D #8A2D4F #8A392D
triadic
#8A2D4F #4F8A2D #2D4F8A
tetradic
#8A2D4F #7D8A2D #2D8A68 #392D8A
square
#8A2D4F #7D8A2D #2D8A68 #392D8A
split-complementary
#8A2D4F #2D8A39 #2D7D8A
monochromatic
#2E0F1A #5C1E35 #8A2D4F #B83C69 #CD658B

Accessibility & contrast

On white

8.17
#8A2D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D4F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D4F#FFFFFF#000000##FFFFFF
##8A2D4F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#58564D
Tritanopia (blue-blind)
#96223B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2d4f;
/* rgb */ color: rgb(138, 45, 79);
/* oklch */ color: oklch(44.5% 0.130 1.4);
Tailwind
colors: {
  custom: {
    50: '#b06c80',
    500: '#8a2d4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d4f;
$custom-light: #b06c80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d4f",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 338.065,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.445,
    "c": 0.12984,
    "h": 1.4
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#8A2D4F
secondary
#60B395
accent
#DAA74D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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