#8A2F50#8A2F50

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

Color values

HEX#8A2F50
RGBrgb(138, 47, 80)
HSLhsl(338, 49%, 36%)
HSVhsv(338, 66%, 54%)
CMYKcmyk(0%, 65.9%, 42%, 45.9%)
CIE-LABlab(34.02, 41.67, 0.92)
CIE-LCHlch(34.02, 41.68, 1.26°)
OKLaboklab(44.78% 0.1274 0.0029)
OKLCHoklch(44.78% 0.127 1.3)
XYZxyz(12.9466, 8.0170, 8.4535)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F50 #2F8A69
analogous
#8A2F7E #8A2F50 #8A3C2F
triadic
#8A2F50 #508A2F #2F508A
tetradic
#8A2F50 #7E8A2F #2F8A69 #3C2F8A
square
#8A2F50 #7E8A2F #2F8A69 #3C2F8A
split-complementary
#8A2F50 #2F8A3C #2F7E8A
monochromatic
#2F101B #5C1F36 #8A2F50 #B83F6A #CC688C

Accessibility & contrast

On white

8.07
#8A2F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F50
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F50#FFFFFF#000000##FFFFFF
##8A2F501.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414551
Deuteranopia (green-blind)
#59564E
Tritanopia (blue-blind)
#95253C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f50;
/* rgb */ color: rgb(138, 47, 80);
/* oklch */ color: oklch(44.8% 0.127 1.3);
Tailwind
colors: {
  custom: {
    50: '#b06d80',
    500: '#8a2f50',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f50;
$custom-light: #b06d80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f50",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 338.242,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44776,
    "c": 0.12738,
    "h": 1.3
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A2F50

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

Preview Lab → · Contrast checker → · Palette generator →

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