#8A2F47#8A2F47

#8A2F47 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.5% C 0.125 H 7.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8A2F47
RGBrgb(138, 47, 71)
HSLhsl(344, 49%, 36%)
HSVhsv(344, 66%, 54%)
CMYKcmyk(0%, 65.9%, 48.6%, 45.9%)
CIE-LABlab(33.76, 40.71, 6.37)
CIE-LCHlch(33.76, 41.21, 8.89°)
OKLaboklab(44.5% 0.1239 0.0166)
OKLCHoklch(44.5% 0.125 7.6)
XYZxyz(12.6361, 7.8928, 6.8181)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F47 #2F8A72
analogous
#8A2F75 #8A2F47 #8A452F
triadic
#8A2F47 #478A2F #2F478A
tetradic
#8A2F47 #758A2F #2F8A72 #452F8A
square
#8A2F47 #758A2F #2F8A72 #452F8A
split-complementary
#8A2F47 #2F8A45 #2F758A
monochromatic
#2F1018 #5C1F30 #8A2F47 #B83F5E #CC6882

Accessibility & contrast

On white

8.15
#8A2F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F47
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F47#FFFFFF#000000##FFFFFF
##8A2F471.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434448
Deuteranopia (green-blind)
#5B5645
Tritanopia (blue-blind)
#962238
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2f47;
/* rgb */ color: rgb(138, 47, 71);
/* oklch */ color: oklch(44.5% 0.125 7.6);
Tailwind
colors: {
  custom: {
    50: '#b16d7a',
    500: '#8a2f47',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f47;
$custom-light: #b16d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f47",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 71
  },
  "hsl": {
    "h": 344.176,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.12499,
    "h": 7.6
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#8A2F47
secondary
#62B39D
accent
#D9B44F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2F47

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

Preview Lab → · Contrast checker → · Palette generator →

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