#8A2340#8A2340

#8A2340 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.9% C 0.139 H 8.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8A2340
RGBrgb(138, 35, 64)
HSLhsl(343, 60%, 34%)
HSVhsv(343, 75%, 54%)
CMYKcmyk(0%, 74.6%, 53.6%, 45.9%)
CIE-LABlab(31.75, 45.05, 8.12)
CIE-LCHlch(31.75, 45.78, 10.21°)
OKLaboklab(42.95% 0.137 0.0208)
OKLCHoklch(42.95% 0.139 8.6)
XYZxyz(12.0088, 6.9771, 5.5639)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2340 #238A6D
analogous
#8A2374 #8A2340 #8A3A23
triadic
#8A2340 #408A23 #23408A
tetradic
#8A2340 #748A23 #238A6D #3A238A
square
#8A2340 #748A23 #238A6D #3A238A
split-complementary
#8A2340 #238A3A #23748A
monochromatic
#280A13 #591729 #8A2340 #BB2F57 #D45478

Accessibility & contrast

On white

8.77
#8A2340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A2340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2340
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2340#FFFFFF#000000##FFFFFF
##8A23401.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#970B2F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2340;
/* rgb */ color: rgb(138, 35, 64);
/* oklch */ color: oklch(42.9% 0.139 8.6);
Tailwind
colors: {
  custom: {
    50: '#b26774',
    500: '#8a2340',
    950: '#000000',
  },
}
SCSS
$custom: #8a2340;
$custom-light: #b26774;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2340",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 343.107,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.13858,
    "h": 8.6
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#8A2340
secondary
#51B79B
accent
#E3B645
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2340

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

Preview Lab → · Contrast checker → · Palette generator →

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