#8A2E4F#8A2E4F

#8A2E4F is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.128 H 1.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A2E4F
RGBrgb(138, 46, 79)
HSLhsl(338, 50%, 36%)
HSVhsv(338, 67%, 54%)
CMYKcmyk(0%, 66.7%, 42.8%, 45.9%)
CIE-LABlab(33.82, 42.00, 1.28)
CIE-LCHlch(33.82, 42.02, 1.75°)
OKLaboklab(44.62% 0.1284 0.0038)
OKLCHoklch(44.62% 0.128 1.7)
XYZxyz(12.8704, 7.9233, 8.2472)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E4F #2E8A69
analogous
#8A2E7D #8A2E4F #8A3B2E
triadic
#8A2E4F #4F8A2E #2E4F8A
tetradic
#8A2E4F #7D8A2E #2E8A69 #3B2E8A
square
#8A2E4F #7D8A2E #2E8A69 #3B2E8A
split-complementary
#8A2E4F #2E8A3B #2E7D8A
monochromatic
#2E0F1A #5C1F35 #8A2E4F #B83D69 #CC668B

Accessibility & contrast

On white

8.13
#8A2E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E4F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E4F#FFFFFF#000000##FFFFFF
##8A2E4F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#59564D
Tritanopia (blue-blind)
#96233B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2e4f;
/* rgb */ color: rgb(138, 46, 79);
/* oklch */ color: oklch(44.6% 0.128 1.7);
Tailwind
colors: {
  custom: {
    50: '#b06d80',
    500: '#8a2e4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e4f;
$custom-light: #b06d80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e4f",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 338.478,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4462,
    "c": 0.12846,
    "h": 1.7
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#8A2E4F
secondary
#61B395
accent
#DAA84E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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