#8A2045#8A2045

#8A2045 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.143 H 4.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8A2045
RGBrgb(138, 32, 69)
HSLhsl(339, 62%, 33%)
HSVhsv(339, 77%, 54%)
CMYKcmyk(0%, 76.8%, 50%, 45.9%)
CIE-LABlab(31.50, 46.58, 4.47)
CIE-LCHlch(31.50, 46.80, 5.48°)
OKLaboklab(42.81% 0.1425 0.0119)
OKLCHoklch(42.81% 0.143 4.8)
XYZxyz(12.0729, 6.8676, 6.3189)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2045 #208A65
analogous
#8A207A #8A2045 #8A3020
triadic
#8A2045 #458A20 #20458A
tetradic
#8A2045 #7A8A20 #208A65 #30208A
square
#8A2045 #7A8A20 #208A65 #30208A
split-complementary
#8A2045 #208A30 #207A8A
monochromatic
#270913 #58142C #8A2045 #BC2C5E #D64E7E

Accessibility & contrast

On white

8.85
#8A2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2045
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2045#FFFFFF#000000##FFFFFF
##8A20451.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D46
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#970830
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2045;
/* rgb */ color: rgb(138, 32, 69);
/* oklch */ color: oklch(42.8% 0.143 4.8);
Tailwind
colors: {
  custom: {
    50: '#b16678',
    500: '#8a2045',
    950: '#000000',
  },
}
SCSS
$custom: #8a2045;
$custom-light: #b16678;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2045",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 339.057,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.14295,
    "h": 4.8
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#8A2045
secondary
#4DB993
accent
#E5AD42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2045

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

Preview Lab → · Contrast checker → · Palette generator →

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