#8A2145#8A2145

#8A2145 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.142 H 5.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2145
RGBrgb(138, 33, 69)
HSLhsl(339, 61%, 34%)
HSVhsv(339, 76%, 54%)
CMYKcmyk(0%, 76.1%, 50%, 45.9%)
CIE-LABlab(31.63, 46.23, 4.65)
CIE-LCHlch(31.63, 46.46, 5.74°)
OKLaboklab(42.9% 0.1413 0.0123)
OKLCHoklch(42.9% 0.142 5)
XYZxyz(12.1003, 6.9223, 6.3280)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2145 #218A66
analogous
#8A2179 #8A2145 #8A3121
triadic
#8A2145 #458A21 #21458A
tetradic
#8A2145 #798A21 #218A66 #31218A
square
#8A2145 #798A21 #218A66 #31218A
split-complementary
#8A2145 #218A31 #21798A
monochromatic
#270914 #59152C #8A2145 #BB2D5E #D5507E

Accessibility & contrast

On white

8.81
#8A2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2145
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2145#FFFFFF#000000##FFFFFF
##8A21451.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D46
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#970A30
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2145;
/* rgb */ color: rgb(138, 33, 69);
/* oklch */ color: oklch(42.9% 0.142 5.0);
Tailwind
colors: {
  custom: {
    50: '#b16678',
    500: '#8a2145',
    950: '#000000',
  },
}
SCSS
$custom: #8a2145;
$custom-light: #b16678;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2145",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 339.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.14187,
    "h": 5
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#8A2145
secondary
#4EB994
accent
#E5AD43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2145

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

Preview Lab → · Contrast checker → · Palette generator →

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