#8A2F4D#8A2F4D

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

Color values

HEX#8A2F4D
RGBrgb(138, 47, 77)
HSLhsl(340, 49%, 36%)
HSVhsv(340, 66%, 54%)
CMYKcmyk(0%, 65.9%, 44.2%, 45.9%)
CIE-LABlab(33.93, 41.33, 2.73)
CIE-LCHlch(33.93, 41.42, 3.77°)
OKLaboklab(44.68% 0.1262 0.0075)
OKLCHoklch(44.68% 0.126 3.4)
XYZxyz(12.8382, 7.9737, 7.8827)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F4D #2F8A6C
analogous
#8A2F7B #8A2F4D #8A3F2F
triadic
#8A2F4D #4D8A2F #2F4D8A
tetradic
#8A2F4D #7B8A2F #2F8A6C #3F2F8A
square
#8A2F4D #7B8A2F #2F8A6C #3F2F8A
split-complementary
#8A2F4D #2F8A3F #2F7B8A
monochromatic
#2F101A #5C1F34 #8A2F4D #B83F66 #CC6889

Accessibility & contrast

On white

8.09
#8A2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F4D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F4D#FFFFFF#000000##FFFFFF
##8A2F4D1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41454E
Deuteranopia (green-blind)
#59564B
Tritanopia (blue-blind)
#96243B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f4d;
/* rgb */ color: rgb(138, 47, 77);
/* oklch */ color: oklch(44.7% 0.126 3.4);
Tailwind
colors: {
  custom: {
    50: '#b06d7e',
    500: '#8a2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f4d;
$custom-light: #b06d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f4d",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 340.22,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.12644,
    "h": 3.4
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#8A2F4D
secondary
#62B398
accent
#D9AB4F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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