#8A2F51#8A2F51

#8A2F51 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.8% C 0.128 H 0.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8A2F51
RGBrgb(138, 47, 81)
HSLhsl(338, 49%, 36%)
HSVhsv(338, 66%, 54%)
CMYKcmyk(0%, 65.9%, 41.3%, 45.9%)
CIE-LABlab(34.05, 41.78, 0.32)
CIE-LCHlch(34.05, 41.78, 0.43°)
OKLaboklab(44.81% 0.1277 0.0013)
OKLCHoklch(44.81% 0.128 0.6)
XYZxyz(12.9838, 8.0319, 8.6496)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F51 #2F8A68
analogous
#8A2F7F #8A2F51 #8A3B2F
triadic
#8A2F51 #518A2F #2F518A
tetradic
#8A2F51 #7F8A2F #2F8A68 #3B2F8A
square
#8A2F51 #7F8A2F #2F8A68 #3B2F8A
split-complementary
#8A2F51 #2F8A3B #2F7F8A
monochromatic
#2F101B #5C1F36 #8A2F51 #B83F6C #CC688D

Accessibility & contrast

On white

8.06
#8A2F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F51
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F51#FFFFFF#000000##FFFFFF
##8A2F511.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404552
Deuteranopia (green-blind)
#59574F
Tritanopia (blue-blind)
#95253C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f51;
/* rgb */ color: rgb(138, 47, 81);
/* oklch */ color: oklch(44.8% 0.128 0.6);
Tailwind
colors: {
  custom: {
    50: '#b06d81',
    500: '#8a2f51',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f51;
$custom-light: #b06d81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f51",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 337.582,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.12773,
    "h": 0.6
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#8A2F51
secondary
#62B395
accent
#D9A54F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2F51

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

Preview Lab → · Contrast checker → · Palette generator →

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