#8A2842#8A2842

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

Color values

HEX#8A2842
RGBrgb(138, 40, 66)
HSLhsl(344, 55%, 35%)
HSVhsv(344, 71%, 54%)
CMYKcmyk(0%, 71%, 52.2%, 45.9%)
CIE-LABlab(32.52, 43.27, 7.87)
CIE-LCHlch(32.52, 43.98, 10.31°)
OKLaboklab(43.53% 0.1315 0.0203)
OKLCHoklch(43.53% 0.133 8.8)
XYZxyz(12.2244, 7.3158, 5.9216)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2842 #288A70
analogous
#8A2873 #8A2842 #8A3F28
triadic
#8A2842 #428A28 #28428A
tetradic
#8A2842 #738A28 #288A70 #3F288A
square
#8A2842 #738A28 #288A70 #3F288A
split-complementary
#8A2842 #288A3F #28738A
monochromatic
#2B0C15 #5B1A2B #8A2842 #B93659 #D05D7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2842#FFFFFF#000000##FFFFFF
##8A28421.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)
#3F4043
Deuteranopia (green-blind)
#595440
Tritanopia (blue-blind)
#971632
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2842;
/* rgb */ color: rgb(138, 40, 66);
/* oklch */ color: oklch(43.5% 0.133 8.8);
Tailwind
colors: {
  custom: {
    50: '#b16976',
    500: '#8a2842',
    950: '#000000',
  },
}
SCSS
$custom: #8a2842;
$custom-light: #b16976;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2842",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 344.082,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4353,
    "c": 0.13308,
    "h": 8.8
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#8A2842
secondary
#59B59D
accent
#DEB749
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8A2842

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

Preview Lab → · Contrast checker → · Palette generator →

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