#8A2342#8A2342

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

Color values

HEX#8A2342
RGBrgb(138, 35, 66)
HSLhsl(342, 60%, 34%)
HSVhsv(342, 75%, 54%)
CMYKcmyk(0%, 74.6%, 52.2%, 45.9%)
CIE-LABlab(31.81, 45.23, 6.88)
CIE-LCHlch(31.81, 45.75, 8.65°)
OKLaboklab(43.01% 0.1378 0.0178)
OKLCHoklch(43.01% 0.139 7.4)
XYZxyz(12.0667, 7.0003, 5.8690)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2342 #238A6B
analogous
#8A2376 #8A2342 #8A3823
triadic
#8A2342 #428A23 #23428A
tetradic
#8A2342 #768A23 #238A6B #38238A
square
#8A2342 #768A23 #238A6B #38238A
split-complementary
#8A2342 #238A38 #23768A
monochromatic
#280A13 #59172B #8A2342 #BB2F59 #D4547A

Accessibility & contrast

On white

8.75
#8A2342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2342
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2342#FFFFFF#000000##FFFFFF
##8A23421.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E43
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#970C30
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2342;
/* rgb */ color: rgb(138, 35, 66);
/* oklch */ color: oklch(43.0% 0.139 7.4);
Tailwind
colors: {
  custom: {
    50: '#b16776',
    500: '#8a2342',
    950: '#000000',
  },
}
SCSS
$custom: #8a2342;
$custom-light: #b16776;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2342",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 341.942,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.13896,
    "h": 7.4
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#8A2342
secondary
#51B799
accent
#E3B345
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2342

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

Preview Lab → · Contrast checker → · Palette generator →

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