#8A2248#8A2248

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

Color values

HEX#8A2248
RGBrgb(138, 34, 72)
HSLhsl(338, 60%, 34%)
HSVhsv(338, 75%, 54%)
CMYKcmyk(0%, 75.4%, 47.8%, 45.9%)
CIE-LABlab(31.85, 46.15, 2.99)
CIE-LCHlch(31.85, 46.25, 3.70°)
OKLaboklab(43.09% 0.1413 0.0081)
OKLCHoklch(43.09% 0.142 3.3)
XYZxyz(12.2239, 7.0168, 6.8403)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2248 #228A64
analogous
#8A227C #8A2248 #8A3022
triadic
#8A2248 #488A22 #22488A
tetradic
#8A2248 #7C8A22 #228A64 #30228A
square
#8A2248 #7C8A22 #228A64 #30228A
split-complementary
#8A2248 #228A30 #227C8A
monochromatic
#280A15 #59162E #8A2248 #BB2E62 #D45282

Accessibility & contrast

On white

8.74
#8A2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2248
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2248#FFFFFF#000000##FFFFFF
##8A22481.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E49
Deuteranopia (green-blind)
#565246
Tritanopia (blue-blind)
#960E32
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2248;
/* rgb */ color: rgb(138, 34, 72);
/* oklch */ color: oklch(43.1% 0.142 3.3);
Tailwind
colors: {
  custom: {
    50: '#b1677a',
    500: '#8a2248',
    950: '#000000',
  },
}
SCSS
$custom: #8a2248;
$custom-light: #b1677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2248",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 338.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.14154,
    "h": 3.3
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#8A2248
secondary
#50B892
accent
#E4A944
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A2248

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

Preview Lab → · Contrast checker → · Palette generator →

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