#8A2240#8A2240

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

Color values

HEX#8A2240
RGBrgb(138, 34, 64)
HSLhsl(343, 60%, 34%)
HSVhsv(343, 75%, 54%)
CMYKcmyk(0%, 75.4%, 53.6%, 45.9%)
CIE-LABlab(31.62, 45.42, 7.93)
CIE-LCHlch(31.62, 46.11, 9.91°)
OKLaboklab(42.85% 0.1382 0.0204)
OKLCHoklch(42.85% 0.14 8.4)
XYZxyz(11.9797, 6.9191, 5.5542)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2240 #228A6C
analogous
#8A2274 #8A2240 #8A3822
triadic
#8A2240 #408A22 #22408A
tetradic
#8A2240 #748A22 #228A6C #38228A
square
#8A2240 #748A22 #228A6C #38228A
split-complementary
#8A2240 #228A38 #22748A
monochromatic
#280A12 #591629 #8A2240 #BB2E57 #D45278

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2240#FFFFFF#000000##FFFFFF
##8A22401.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)
#3C3D41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#97082E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2240;
/* rgb */ color: rgb(138, 34, 64);
/* oklch */ color: oklch(42.9% 0.140 8.4);
Tailwind
colors: {
  custom: {
    50: '#b26674',
    500: '#8a2240',
    950: '#000000',
  },
}
SCSS
$custom: #8a2240;
$custom-light: #b26674;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2240",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 342.692,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.13969,
    "h": 8.4
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#8A2240
secondary
#50B89A
accent
#E4B644
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2240

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

Preview Lab → · Contrast checker → · Palette generator →

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