#8A2F4F#8A2F4F

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

Color values

HEX#8A2F4F
RGBrgb(138, 47, 79)
HSLhsl(339, 49%, 36%)
HSVhsv(339, 66%, 54%)
CMYKcmyk(0%, 65.9%, 42.8%, 45.9%)
CIE-LABlab(33.99, 41.55, 1.52)
CIE-LCHlch(33.99, 41.58, 2.09°)
OKLaboklab(44.74% 0.127 0.0044)
OKLCHoklch(44.74% 0.127 2)
XYZxyz(12.9099, 8.0023, 8.2604)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F4F #2F8A6A
analogous
#8A2F7D #8A2F4F #8A3D2F
triadic
#8A2F4F #4F8A2F #2F4F8A
tetradic
#8A2F4F #7D8A2F #2F8A6A #3D2F8A
square
#8A2F4F #7D8A2F #2F8A6A #3D2F8A
split-complementary
#8A2F4F #2F8A3D #2F7D8A
monochromatic
#2F101B #5C1F35 #8A2F4F #B83F69 #CC688B

Accessibility & contrast

On white

8.08
#8A2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F4F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F4F#FFFFFF#000000##FFFFFF
##8A2F4F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#59564D
Tritanopia (blue-blind)
#96253C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f4f;
/* rgb */ color: rgb(138, 47, 79);
/* oklch */ color: oklch(44.7% 0.127 2.0);
Tailwind
colors: {
  custom: {
    50: '#b06d80',
    500: '#8a2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f4f;
$custom-light: #b06d80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f4f",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 338.901,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44743,
    "c": 0.12706,
    "h": 2
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#8A2F4F
secondary
#62B396
accent
#D9A84F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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