#8A2D63#8A2D63

#8A2D63 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.139 H 348.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8A2D63
RGBrgb(138, 45, 99)
HSLhsl(325, 51%, 36%)
HSVhsv(325, 67%, 54%)
CMYKcmyk(0%, 67.4%, 28.3%, 45.9%)
CIE-LABlab(34.36, 44.91, -10.79)
CIE-LCHlch(34.36, 46.19, 346.49°)
OKLaboklab(45.25% 0.1363 -0.0283)
OKLCHoklch(45.25% 0.139 348.3)
XYZxyz(13.6723, 8.1823, 12.6613)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D63 #2D8A54
analogous
#822D8A #8A2D63 #8A2D34
triadic
#8A2D63 #638A2D #2D638A
tetradic
#8A2D63 #8A822D #2D8A54 #2D348A
square
#8A2D63 #8A822D #2D8A54 #2D348A
split-complementary
#8A2D63 #348A2D #2D8A82
monochromatic
#2E0F21 #5C1E42 #8A2D63 #B83C84 #CD65A1

Accessibility & contrast

On white

7.97
#8A2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D63
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D63#FFFFFF#000000##FFFFFF
##8A2D631.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394665
Deuteranopia (green-blind)
#535761
Tritanopia (blue-blind)
#942A44
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2d63;
/* rgb */ color: rgb(138, 45, 99);
/* oklch */ color: oklch(45.2% 0.139 348.3);
Tailwind
colors: {
  custom: {
    50: '#af6d8f',
    500: '#8a2d63',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d63;
$custom-light: #af6d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d63",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 325.161,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.13917,
    "h": 348.3
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#8A2D63
secondary
#60B383
accent
#DA894D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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