#8A2F53#8A2F53

#8A2F53 is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.9% C 0.128 H 359.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A2F53
RGBrgb(138, 47, 83)
HSLhsl(336, 49%, 36%)
HSVhsv(336, 66%, 54%)
CMYKcmyk(0%, 65.9%, 39.9%, 45.9%)
CIE-LABlab(34.11, 42.01, -0.88)
CIE-LCHlch(34.11, 42.02, 358.80°)
OKLaboklab(44.88% 0.1284 -0.0018)
OKLCHoklch(44.88% 0.128 359.2)
XYZxyz(13.0599, 8.0623, 9.0504)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F53 #2F8A66
analogous
#8A2F81 #8A2F53 #8A392F
triadic
#8A2F53 #538A2F #2F538A
tetradic
#8A2F53 #818A2F #2F8A66 #392F8A
square
#8A2F53 #818A2F #2F8A66 #392F8A
split-complementary
#8A2F53 #2F8A39 #2F818A
monochromatic
#2F101C #5C1F38 #8A2F53 #B83F6E #CC688F

Accessibility & contrast

On white

8.04
#8A2F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F53
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F53#FFFFFF#000000##FFFFFF
##8A2F531.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404554
Deuteranopia (green-blind)
#585751
Tritanopia (blue-blind)
#95263D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f53;
/* rgb */ color: rgb(138, 47, 83);
/* oklch */ color: oklch(44.9% 0.128 359.2);
Tailwind
colors: {
  custom: {
    50: '#b06d83',
    500: '#8a2f53',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f53;
$custom-light: #b06d83;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f53",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 336.264,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44876,
    "c": 0.12845,
    "h": 359.2
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#8A2F53
secondary
#62B393
accent
#D9A24F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2F53

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

Preview Lab → · Contrast checker → · Palette generator →

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