#8A2F56#8A2F56

#8A2F56 is a dark, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.130 H 357.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8A2F56
RGBrgb(138, 47, 86)
HSLhsl(334, 49%, 36%)
HSVhsv(334, 66%, 54%)
CMYKcmyk(0%, 65.9%, 37.7%, 45.9%)
CIE-LABlab(34.21, 42.36, -2.67)
CIE-LCHlch(34.21, 42.45, 356.39°)
OKLaboklab(44.98% 0.1295 -0.0065)
OKLCHoklch(44.98% 0.13 357.1)
XYZxyz(13.1782, 8.1097, 9.6736)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F56 #2F8A63
analogous
#8A2F84 #8A2F56 #8A362F
triadic
#8A2F56 #568A2F #2F568A
tetradic
#8A2F56 #848A2F #2F8A63 #362F8A
square
#8A2F56 #848A2F #2F8A63 #362F8A
split-complementary
#8A2F56 #2F8A36 #2F848A
monochromatic
#2F101D #5C1F3A #8A2F56 #B83F72 #CC6893

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2F56#FFFFFF#000000##FFFFFF
##8A2F561.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)
#3F4657
Deuteranopia (green-blind)
#585754
Tritanopia (blue-blind)
#95273F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f56;
/* rgb */ color: rgb(138, 47, 86);
/* oklch */ color: oklch(45.0% 0.130 357.1);
Tailwind
colors: {
  custom: {
    50: '#b06d85',
    500: '#8a2f56',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f56;
$custom-light: #b06d85;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f56",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 334.286,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44981,
    "c": 0.12965,
    "h": 357.1
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#8A2F56
secondary
#62B390
accent
#D99E4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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