#8A2462#8A2462

#8A2462 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.151 H 347.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8A2462
RGBrgb(138, 36, 98)
HSLhsl(324, 59%, 34%)
HSVhsv(324, 74%, 54%)
CMYKcmyk(0%, 73.9%, 29%, 45.9%)
CIE-LABlab(33.02, 48.38, -12.18)
CIE-LCHlch(33.02, 49.89, 345.87°)
OKLaboklab(44.25% 0.1472 -0.0321)
OKLCHoklch(44.25% 0.151 347.7)
XYZxyz(13.3173, 7.5483, 12.3086)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2462 #248A4C
analogous
#7F248A #8A2462 #8A242F
triadic
#8A2462 #628A24 #24628A
tetradic
#8A2462 #8A7F24 #248A4C #242F8A
square
#8A2462 #8A7F24 #248A4C #242F8A
split-complementary
#8A2462 #2F8A24 #248A7F
monochromatic
#290B1D #591740 #8A2462 #BB3184 #D356A2

Accessibility & contrast

On white

8.37
#8A2462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A2462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2462
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2462#FFFFFF#000000##FFFFFF
##8A24621.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324264
Deuteranopia (green-blind)
#505460
Tritanopia (blue-blind)
#942040
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2462;
/* rgb */ color: rgb(138, 36, 98);
/* oklch */ color: oklch(44.3% 0.151 347.7);
Tailwind
colors: {
  custom: {
    50: '#b0688e',
    500: '#8a2462',
    950: '#000000',
  },
}
SCSS
$custom: #8a2462;
$custom-light: #b0688e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2462",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 98
  },
  "hsl": {
    "h": 323.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.15063,
    "h": 347.7
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#8A2462
secondary
#53B77A
accent
#E28346
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2462

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

Preview Lab → · Contrast checker → · Palette generator →

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