#8A2951#8A2951

#8A2951 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.136 H 359.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8A2951
RGBrgb(138, 41, 81)
HSLhsl(335, 54%, 35%)
HSVhsv(335, 70%, 54%)
CMYKcmyk(0%, 70.3%, 41.3%, 45.9%)
CIE-LABlab(33.10, 44.37, -1.07)
CIE-LCHlch(33.10, 44.38, 358.62°)
OKLaboklab(44.11% 0.1359 -0.0022)
OKLCHoklch(44.11% 0.136 359.1)
XYZxyz(12.7602, 7.5848, 8.5750)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2951 #298A62
analogous
#8A2981 #8A2951 #8A3229
triadic
#8A2951 #518A29 #29518A
tetradic
#8A2951 #818A29 #298A62 #32298A
square
#8A2951 #818A29 #298A62 #32298A
split-complementary
#8A2951 #298A32 #29818A
monochromatic
#2C0D1A #5B1B35 #8A2951 #B9376D #CF5E8D

Accessibility & contrast

On white

8.34
#8A2951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A2951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2951
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2951#FFFFFF#000000##FFFFFF
##8A29511.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#56554F
Tritanopia (blue-blind)
#951E39
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2951;
/* rgb */ color: rgb(138, 41, 81);
/* oklch */ color: oklch(44.1% 0.136 359.1);
Tailwind
colors: {
  custom: {
    50: '#b06a81',
    500: '#8a2951',
    950: '#000000',
  },
}
SCSS
$custom: #8a2951;
$custom-light: #b06a81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2951",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 335.258,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44108,
    "c": 0.13594,
    "h": 359.1
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#8A2951
secondary
#5AB58F
accent
#DEA14A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2951

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

Preview Lab → · Contrast checker → · Palette generator →

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