#8A2F55#8A2F55

#8A2F55 is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.9% C 0.129 H 357.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8A2F55
RGBrgb(138, 47, 85)
HSLhsl(335, 49%, 36%)
HSVhsv(335, 66%, 54%)
CMYKcmyk(0%, 65.9%, 38.4%, 45.9%)
CIE-LABlab(34.18, 42.24, -2.08)
CIE-LCHlch(34.18, 42.29, 357.18°)
OKLaboklab(44.95% 0.1291 -0.0049)
OKLCHoklch(44.95% 0.129 357.8)
XYZxyz(13.1382, 8.0937, 9.4629)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F55 #2F8A64
analogous
#8A2F83 #8A2F55 #8A372F
triadic
#8A2F55 #558A2F #2F558A
tetradic
#8A2F55 #838A2F #2F8A64 #372F8A
square
#8A2F55 #838A2F #2F8A64 #372F8A
split-complementary
#8A2F55 #2F8A37 #2F838A
monochromatic
#2F101D #5C1F39 #8A2F55 #B83F71 #CC6891

Accessibility & contrast

On white

8.02
#8A2F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F55
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F55#FFFFFF#000000##FFFFFF
##8A2F551.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4656
Deuteranopia (green-blind)
#585753
Tritanopia (blue-blind)
#95273E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f55;
/* rgb */ color: rgb(138, 47, 85);
/* oklch */ color: oklch(44.9% 0.129 357.8);
Tailwind
colors: {
  custom: {
    50: '#b06d84',
    500: '#8a2f55',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f55;
$custom-light: #b06d84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f55",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 334.945,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.12923,
    "h": 357.8
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#8A2F55
secondary
#62B391
accent
#D99F4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2F55

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

Preview Lab → · Contrast checker → · Palette generator →

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