#8A2246#8A2246

#8A2246 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.141 H 4.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8A2246
RGBrgb(138, 34, 70)
HSLhsl(339, 60%, 34%)
HSVhsv(339, 75%, 54%)
CMYKcmyk(0%, 75.4%, 49.3%, 45.9%)
CIE-LABlab(31.79, 45.96, 4.22)
CIE-LCHlch(31.79, 46.16, 5.24°)
OKLaboklab(43.03% 0.1406 0.0112)
OKLCHoklch(43.03% 0.141 4.6)
XYZxyz(12.1598, 6.9911, 6.5023)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2246 #228A66
analogous
#8A227A #8A2246 #8A3222
triadic
#8A2246 #468A22 #22468A
tetradic
#8A2246 #7A8A22 #228A66 #32228A
square
#8A2246 #7A8A22 #228A66 #32228A
split-complementary
#8A2246 #228A32 #227A8A
monochromatic
#280A14 #59162D #8A2246 #BB2E5F #D4527F

Accessibility & contrast

On white

8.76
#8A2246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2246
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2246#FFFFFF#000000##FFFFFF
##8A22461.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E47
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#960D31
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2246;
/* rgb */ color: rgb(138, 34, 70);
/* oklch */ color: oklch(43.0% 0.141 4.6);
Tailwind
colors: {
  custom: {
    50: '#b16779',
    500: '#8a2246',
    950: '#000000',
  },
}
SCSS
$custom: #8a2246;
$custom-light: #b16779;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2246",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 70
  },
  "hsl": {
    "h": 339.231,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43026,
    "c": 0.14101,
    "h": 4.6
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#8A2246
secondary
#50B894
accent
#E4AC44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A2246

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

Preview Lab → · Contrast checker → · Palette generator →

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