#8A2847#8A2847

#8A2847 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.134 H 5.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8A2847
RGBrgb(138, 40, 71)
HSLhsl(341, 55%, 35%)
HSVhsv(341, 71%, 54%)
CMYKcmyk(0%, 71%, 48.6%, 45.9%)
CIE-LABlab(32.65, 43.74, 4.80)
CIE-LCHlch(32.65, 44.00, 6.26°)
OKLaboklab(43.68% 0.1335 0.0127)
OKLCHoklch(43.68% 0.134 5.4)
XYZxyz(12.3783, 7.3774, 6.7322)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2847 #288A6B
analogous
#8A2878 #8A2847 #8A3A28
triadic
#8A2847 #478A28 #28478A
tetradic
#8A2847 #788A28 #288A6B #3A288A
square
#8A2847 #788A28 #288A6B #3A288A
split-complementary
#8A2847 #288A3A #28788A
monochromatic
#2B0C16 #5B1A2F #8A2847 #B9365F #D05D81

Accessibility & contrast

On white

8.48
#8A2847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A2847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2847
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2847#FFFFFF#000000##FFFFFF
##8A28471.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4048
Deuteranopia (green-blind)
#585445
Tritanopia (blue-blind)
#961835
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2847;
/* rgb */ color: rgb(138, 40, 71);
/* oklch */ color: oklch(43.7% 0.134 5.4);
Tailwind
colors: {
  custom: {
    50: '#b1697a',
    500: '#8a2847',
    950: '#000000',
  },
}
SCSS
$custom: #8a2847;
$custom-light: #b1697a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2847",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 341.02,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43675,
    "c": 0.13411,
    "h": 5.4
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#8A2847
secondary
#59B598
accent
#DEAF49
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2847

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

Preview Lab → · Contrast checker → · Palette generator →

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