#8A2747#8A2747

#8A2747 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.135 H 5.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8A2747
RGBrgb(138, 39, 71)
HSLhsl(341, 56%, 35%)
HSVhsv(341, 72%, 54%)
CMYKcmyk(0%, 71.7%, 48.6%, 45.9%)
CIE-LABlab(32.50, 44.14, 4.59)
CIE-LCHlch(32.50, 44.38, 5.93°)
OKLaboklab(43.57% 0.1348 0.0122)
OKLCHoklch(43.57% 0.135 5.2)
XYZxyz(12.3451, 7.3108, 6.7211)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2747 #278A6A
analogous
#8A2779 #8A2747 #8A3927
triadic
#8A2747 #478A27 #27478A
tetradic
#8A2747 #798A27 #278A6A #39278A
square
#8A2747 #798A27 #278A6A #39278A
split-complementary
#8A2747 #278A39 #27798A
monochromatic
#2B0C16 #5A1A2E #8A2747 #BA3460 #D15B81

Accessibility & contrast

On white

8.53
#8A2747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A2747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2747
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2747#FFFFFF#000000##FFFFFF
##8A27471.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#585445
Tritanopia (blue-blind)
#961634
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2747;
/* rgb */ color: rgb(138, 39, 71);
/* oklch */ color: oklch(43.6% 0.135 5.2);
Tailwind
colors: {
  custom: {
    50: '#b1697a',
    500: '#8a2747',
    950: '#000000',
  },
}
SCSS
$custom: #8a2747;
$custom-light: #b1697a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2747",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 340.606,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.13536,
    "h": 5.2
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#8A2747
secondary
#57B697
accent
#DFAF49
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2747

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

Preview Lab → · Contrast checker → · Palette generator →

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