#8A2845#8A2845

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

Color values

HEX#8A2845
RGBrgb(138, 40, 69)
HSLhsl(342, 55%, 35%)
HSVhsv(342, 71%, 54%)
CMYKcmyk(0%, 71%, 50%, 45.9%)
CIE-LABlab(32.60, 43.55, 6.02)
CIE-LCHlch(32.60, 43.96, 7.88°)
OKLaboklab(43.61% 0.1327 0.0157)
OKLCHoklch(43.61% 0.134 6.8)
XYZxyz(12.3152, 7.3521, 6.3997)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2845 #288A6D
analogous
#8A2876 #8A2845 #8A3C28
triadic
#8A2845 #458A28 #28458A
tetradic
#8A2845 #768A28 #288A6D #3C288A
square
#8A2845 #768A28 #288A6D #3C288A
split-complementary
#8A2845 #288A3C #28768A
monochromatic
#2B0C16 #5B1A2D #8A2845 #B9365D #D05D7F

Accessibility & contrast

On white

8.50
#8A2845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A2845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2845
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2845#FFFFFF#000000##FFFFFF
##8A28451.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#585443
Tritanopia (blue-blind)
#961734
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2845;
/* rgb */ color: rgb(138, 40, 69);
/* oklch */ color: oklch(43.6% 0.134 6.8);
Tailwind
colors: {
  custom: {
    50: '#b16978',
    500: '#8a2845',
    950: '#000000',
  },
}
SCSS
$custom: #8a2845;
$custom-light: #b16978;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2845",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 342.245,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.13366,
    "h": 6.8
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#8A2845
secondary
#59B59A
accent
#DEB249
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #8A2845

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

Preview Lab → · Contrast checker → · Palette generator →

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