#8A2F57#8A2F57

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

Color values

HEX#8A2F57
RGBrgb(138, 47, 87)
HSLhsl(334, 49%, 36%)
HSVhsv(334, 66%, 54%)
CMYKcmyk(0%, 65.9%, 37%, 45.9%)
CIE-LABlab(34.24, 42.48, -3.27)
CIE-LCHlch(34.24, 42.61, 355.60°)
OKLaboklab(45.02% 0.1298 -0.0081)
OKLCHoklch(45.02% 0.13 356.4)
XYZxyz(13.2188, 8.1259, 9.8873)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F57 #2F8A62
analogous
#8A2F85 #8A2F57 #8A352F
triadic
#8A2F57 #578A2F #2F578A
tetradic
#8A2F57 #858A2F #2F8A62 #352F8A
square
#8A2F57 #858A2F #2F8A62 #352F8A
split-complementary
#8A2F57 #2F8A35 #2F858A
monochromatic
#2F101D #5C1F3A #8A2F57 #B83F74 #CC6894

Accessibility & contrast

On white

8.00
#8A2F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F57
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F57#FFFFFF#000000##FFFFFF
##8A2F571.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4658
Deuteranopia (green-blind)
#575755
Tritanopia (blue-blind)
#95273F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f57;
/* rgb */ color: rgb(138, 47, 87);
/* oklch */ color: oklch(45.0% 0.130 356.4);
Tailwind
colors: {
  custom: {
    50: '#b06d86',
    500: '#8a2f57',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f57;
$custom-light: #b06d86;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f57",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 333.626,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45017,
    "c": 0.13008,
    "h": 356.4
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#8A2F57
secondary
#62B38F
accent
#D99C4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2F57

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

Preview Lab → · Contrast checker → · Palette generator →

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