#8A2251#8A2251

#8A2251 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.145 H 357.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8A2251
RGBrgb(138, 34, 81)
HSLhsl(333, 60%, 34%)
HSVhsv(333, 75%, 54%)
CMYKcmyk(0%, 75.4%, 41.3%, 45.9%)
CIE-LABlab(32.13, 47.08, -2.50)
CIE-LCHlch(32.13, 47.14, 356.96°)
OKLaboklab(43.39% 0.1445 -0.006)
OKLCHoklch(43.39% 0.145 357.6)
XYZxyz(12.5393, 7.1430, 8.5014)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2251 #228A5B
analogous
#8A2285 #8A2251 #8A2722
triadic
#8A2251 #518A22 #22518A
tetradic
#8A2251 #858A22 #228A5B #27228A
square
#8A2251 #858A22 #228A5B #27228A
split-complementary
#8A2251 #228A27 #22858A
monochromatic
#280A17 #591634 #8A2251 #BB2E6E #D4528D

Accessibility & contrast

On white

8.65
#8A2251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2251
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2251#FFFFFF#000000##FFFFFF
##8A22511.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F52
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#961436
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2251;
/* rgb */ color: rgb(138, 34, 81);
/* oklch */ color: oklch(43.4% 0.145 357.6);
Tailwind
colors: {
  custom: {
    50: '#b16781',
    500: '#8a2251',
    950: '#000000',
  },
}
SCSS
$custom: #8a2251;
$custom-light: #b16781;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2251",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 332.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.14464,
    "h": 357.6
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#8A2251
secondary
#50B889
accent
#E49C44
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A2251

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

Preview Lab → · Contrast checker → · Palette generator →

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