#8A2F4E#8A2F4E

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

Color values

HEX#8A2F4E
RGBrgb(138, 47, 78)
HSLhsl(340, 49%, 36%)
HSVhsv(340, 66%, 54%)
CMYKcmyk(0%, 65.9%, 43.5%, 45.9%)
CIE-LABlab(33.96, 41.44, 2.12)
CIE-LCHlch(33.96, 41.50, 2.93°)
OKLaboklab(44.71% 0.1266 0.006)
OKLCHoklch(44.71% 0.127 2.7)
XYZxyz(12.8738, 7.9879, 8.0701)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F4E #2F8A6B
analogous
#8A2F7C #8A2F4E #8A3E2F
triadic
#8A2F4E #4E8A2F #2F4E8A
tetradic
#8A2F4E #7C8A2F #2F8A6B #3E2F8A
square
#8A2F4E #7C8A2F #2F8A6B #3E2F8A
split-complementary
#8A2F4E #2F8A3E #2F7C8A
monochromatic
#2F101A #5C1F34 #8A2F4E #B83F68 #CC688A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2F4E#FFFFFF#000000##FFFFFF
##8A2F4E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2f4e;
/* rgb */ color: rgb(138, 47, 78);
/* oklch */ color: oklch(44.7% 0.127 2.7);
Tailwind
colors: {
  custom: {
    50: '#b06d7f',
    500: '#8a2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f4e;
$custom-light: #b06d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f4e",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 339.56,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44711,
    "c": 0.12674,
    "h": 2.7
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#8A2F4E
secondary
#62B397
accent
#D9AA4F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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