#8A2249#8A2249

#8A2249 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.142 H 2.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8A2249
RGBrgb(138, 34, 73)
HSLhsl(338, 60%, 34%)
HSVhsv(338, 75%, 54%)
CMYKcmyk(0%, 75.4%, 47.1%, 45.9%)
CIE-LABlab(31.88, 46.25, 2.37)
CIE-LCHlch(31.88, 46.31, 2.94°)
OKLaboklab(43.12% 0.1417 0.0066)
OKLCHoklch(43.12% 0.142 2.7)
XYZxyz(12.2568, 7.0300, 7.0135)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2249 #228A63
analogous
#8A227D #8A2249 #8A2F22
triadic
#8A2249 #498A22 #22498A
tetradic
#8A2249 #7D8A22 #228A63 #2F228A
square
#8A2249 #7D8A22 #228A63 #2F228A
split-complementary
#8A2249 #228A2F #227D8A
monochromatic
#280A15 #59162F #8A2249 #BB2E63 #D45283

Accessibility & contrast

On white

8.73
#8A2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2249
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2249#FFFFFF#000000##FFFFFF
##8A22491.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E4A
Deuteranopia (green-blind)
#555247
Tritanopia (blue-blind)
#960F33
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2249;
/* rgb */ color: rgb(138, 34, 73);
/* oklch */ color: oklch(43.1% 0.142 2.7);
Tailwind
colors: {
  custom: {
    50: '#b1677b',
    500: '#8a2249',
    950: '#000000',
  },
}
SCSS
$custom: #8a2249;
$custom-light: #b1677b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2249",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 337.5,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4312,
    "c": 0.14184,
    "h": 2.7
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#8A2249
secondary
#50B891
accent
#E4A844
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #8A2249

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

Preview Lab → · Contrast checker → · Palette generator →

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