#8A2541#8A2541

#8A2541 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.136 H 8.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8A2541
RGBrgb(138, 37, 65)
HSLhsl(343, 58%, 34%)
HSVhsv(343, 73%, 54%)
CMYKcmyk(0%, 73.2%, 52.9%, 45.9%)
CIE-LABlab(32.06, 44.38, 7.88)
CIE-LCHlch(32.06, 45.07, 10.07°)
OKLaboklab(43.18% 0.135 0.0203)
OKLCHoklch(43.18% 0.136 8.5)
XYZxyz(12.0980, 7.1097, 5.7353)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2541 #258A6E
analogous
#8A2574 #8A2541 #8A3C25
triadic
#8A2541 #418A25 #25418A
tetradic
#8A2541 #748A25 #258A6E #3C258A
square
#8A2541 #748A25 #258A6E #3C258A
split-complementary
#8A2541 #258A3C #25748A
monochromatic
#290B14 #5A182A #8A2541 #BA3258 #D25779

Accessibility & contrast

On white

8.67
#8A2541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A2541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2541
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2541#FFFFFF#000000##FFFFFF
##8A25411.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E42
Deuteranopia (green-blind)
#58533F
Tritanopia (blue-blind)
#971030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2541;
/* rgb */ color: rgb(138, 37, 65);
/* oklch */ color: oklch(43.2% 0.136 8.5);
Tailwind
colors: {
  custom: {
    50: '#b16875',
    500: '#8a2541',
    950: '#000000',
  },
}
SCSS
$custom: #8a2541;
$custom-light: #b16875;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2541",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 343.366,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.13648,
    "h": 8.5
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#8A2541
secondary
#54B79B
accent
#E1B647
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8A2541

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

Preview Lab → · Contrast checker → · Palette generator →

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