#8A2D5F#8A2D5F

#8A2D5F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.137 H 350.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8A2D5F
RGBrgb(138, 45, 95)
HSLhsl(328, 51%, 36%)
HSVhsv(328, 67%, 54%)
CMYKcmyk(0%, 67.4%, 31.2%, 45.9%)
CIE-LABlab(34.21, 44.38, -8.46)
CIE-LCHlch(34.21, 45.18, 349.20°)
OKLaboklab(45.08% 0.1351 -0.022)
OKLCHoklch(45.08% 0.137 350.8)
XYZxyz(13.4858, 8.1077, 11.6790)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D5F #2D8A58
analogous
#862D8A #8A2D5F #8A2D30
triadic
#8A2D5F #5F8A2D #2D5F8A
tetradic
#8A2D5F #8A862D #2D8A58 #2D308A
square
#8A2D5F #8A862D #2D8A58 #2D308A
split-complementary
#8A2D5F #308A2D #2D8A86
monochromatic
#2E0F1F #5C1E3F #8A2D5F #B83C7F #CD659D

Accessibility & contrast

On white

8.01
#8A2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D5F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D5F#FFFFFF#000000##FFFFFF
##8A2D5F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4660
Deuteranopia (green-blind)
#55575D
Tritanopia (blue-blind)
#942842
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2d5f;
/* rgb */ color: rgb(138, 45, 95);
/* oklch */ color: oklch(45.1% 0.137 350.8);
Tailwind
colors: {
  custom: {
    50: '#b06d8c',
    500: '#8a2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d5f;
$custom-light: #b06d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d5f",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 327.742,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.1369,
    "h": 350.8
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#8A2D5F
secondary
#60B386
accent
#DA8F4D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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