#8A2B5F#8A2B5F

#8A2B5F is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.140 H 350.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8A2B5F
RGBrgb(138, 43, 95)
HSLhsl(327, 52%, 35%)
HSVhsv(327, 69%, 54%)
CMYKcmyk(0%, 68.8%, 31.2%, 45.9%)
CIE-LABlab(33.90, 45.23, -8.93)
CIE-LCHlch(33.90, 46.11, 348.83°)
OKLaboklab(44.86% 0.1378 -0.0232)
OKLCHoklch(44.86% 0.14 350.4)
XYZxyz(13.4113, 7.9587, 11.6542)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B5F #2B8A56
analogous
#852B8A #8A2B5F #8A2B2F
triadic
#8A2B5F #5F8A2B #2B5F8A
tetradic
#8A2B5F #8A852B #2B8A56 #2B2F8A
square
#8A2B5F #8A852B #2B8A56 #2B2F8A
split-complementary
#8A2B5F #2F8A2B #2B8A85
monochromatic
#2D0E1F #5B1C3F #8A2B5F #B93A7F #CE619D

Accessibility & contrast

On white

8.10
#8A2B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B5F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B5F#FFFFFF#000000##FFFFFF
##8A2B5F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394560
Deuteranopia (green-blind)
#54565D
Tritanopia (blue-blind)
#942641
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2b5f;
/* rgb */ color: rgb(138, 43, 95);
/* oklch */ color: oklch(44.9% 0.140 350.4);
Tailwind
colors: {
  custom: {
    50: '#b06c8c',
    500: '#8a2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b5f;
$custom-light: #b06c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b5f",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 327.158,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44855,
    "c": 0.13972,
    "h": 350.4
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#8A2B5F
secondary
#5DB484
accent
#DC8D4C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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