#8A2841#8A2841

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

Color values

HEX#8A2841
RGBrgb(138, 40, 65)
HSLhsl(345, 55%, 35%)
HSVhsv(345, 71%, 54%)
CMYKcmyk(0%, 71%, 52.9%, 45.9%)
CIE-LABlab(32.49, 43.18, 8.49)
CIE-LCHlch(32.49, 44.01, 11.12°)
OKLaboklab(43.5% 0.1311 0.0217)
OKLCHoklch(43.5% 0.133 9.4)
XYZxyz(12.1952, 7.3041, 5.7677)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2841 #288A71
analogous
#8A2872 #8A2841 #8A4028
triadic
#8A2841 #418A28 #28418A
tetradic
#8A2841 #728A28 #288A71 #40288A
square
#8A2841 #728A28 #288A71 #40288A
split-complementary
#8A2841 #288A40 #28728A
monochromatic
#2B0C14 #5B1A2B #8A2841 #B93657 #D05D7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2841#FFFFFF#000000##FFFFFF
##8A28411.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)
#3F4041
Deuteranopia (green-blind)
#59543F
Tritanopia (blue-blind)
#971532
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2841;
/* rgb */ color: rgb(138, 40, 65);
/* oklch */ color: oklch(43.5% 0.133 9.4);
Tailwind
colors: {
  custom: {
    50: '#b16975',
    500: '#8a2841',
    950: '#000000',
  },
}
SCSS
$custom: #8a2841;
$custom-light: #b16975;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2841",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 65
  },
  "hsl": {
    "h": 344.694,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43502,
    "c": 0.13292,
    "h": 9.4
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#8A2841
secondary
#59B59E
accent
#DEB849
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8A2841

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

Preview Lab → · Contrast checker → · Palette generator →

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