#8A2440#8A2440

#8A2440 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.137 H 8.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8A2440
RGBrgb(138, 36, 64)
HSLhsl(344, 59%, 34%)
HSVhsv(344, 74%, 54%)
CMYKcmyk(0%, 73.9%, 53.6%, 45.9%)
CIE-LABlab(31.89, 44.68, 8.31)
CIE-LCHlch(31.89, 45.44, 10.54°)
OKLaboklab(43.05% 0.1358 0.0213)
OKLCHoklch(43.05% 0.137 8.9)
XYZxyz(12.0386, 7.0368, 5.5738)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2440 #248A6E
analogous
#8A2473 #8A2440 #8A3B24
triadic
#8A2440 #408A24 #24408A
tetradic
#8A2440 #738A24 #248A6E #3B248A
square
#8A2440 #738A24 #248A6E #3B248A
split-complementary
#8A2440 #248A3B #24738A
monochromatic
#290B13 #591729 #8A2440 #BB3157 #D35678

Accessibility & contrast

On white

8.72
#8A2440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A2440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2440
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2440#FFFFFF#000000##FFFFFF
##8A24401.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E41
Deuteranopia (green-blind)
#58533E
Tritanopia (blue-blind)
#970D2F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2440;
/* rgb */ color: rgb(138, 36, 64);
/* oklch */ color: oklch(43.0% 0.137 8.9);
Tailwind
colors: {
  custom: {
    50: '#b26774',
    500: '#8a2440',
    950: '#000000',
  },
}
SCSS
$custom: #8a2440;
$custom-light: #b26774;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2440",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 343.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.13746,
    "h": 8.9
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#8A2440
secondary
#53B79B
accent
#E2B746
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2440

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

Preview Lab → · Contrast checker → · Palette generator →

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