#8A2F54#8A2F54

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

Color values

HEX#8A2F54
RGBrgb(138, 47, 84)
HSLhsl(336, 49%, 36%)
HSVhsv(336, 66%, 54%)
CMYKcmyk(0%, 65.9%, 39.1%, 45.9%)
CIE-LABlab(34.14, 42.13, -1.48)
CIE-LCHlch(34.14, 42.15, 357.99°)
OKLaboklab(44.91% 0.1288 -0.0033)
OKLCHoklch(44.91% 0.129 358.5)
XYZxyz(13.0988, 8.0779, 9.2552)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F54 #2F8A65
analogous
#8A2F82 #8A2F54 #8A382F
triadic
#8A2F54 #548A2F #2F548A
tetradic
#8A2F54 #828A2F #2F8A65 #382F8A
square
#8A2F54 #828A2F #2F8A65 #382F8A
split-complementary
#8A2F54 #2F8A38 #2F828A
monochromatic
#2F101C #5C1F38 #8A2F54 #B83F70 #CC6890

Accessibility & contrast

On white

8.03
#8A2F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F54
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F54#FFFFFF#000000##FFFFFF
##8A2F541.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#585752
Tritanopia (blue-blind)
#95263E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f54;
/* rgb */ color: rgb(138, 47, 84);
/* oklch */ color: oklch(44.9% 0.129 358.5);
Tailwind
colors: {
  custom: {
    50: '#b06d84',
    500: '#8a2f54',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f54;
$custom-light: #b06d84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f54",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 335.604,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44911,
    "c": 0.12883,
    "h": 358.5
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#8A2F54
secondary
#62B392
accent
#D9A14F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2F54

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

Preview Lab → · Contrast checker → · Palette generator →

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