#8A2244#8A2244

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

Color values

HEX#8A2244
RGBrgb(138, 34, 68)
HSLhsl(340, 60%, 34%)
HSVhsv(340, 75%, 54%)
CMYKcmyk(0%, 75.4%, 50.7%, 45.9%)
CIE-LABlab(31.73, 45.78, 5.45)
CIE-LCHlch(31.73, 46.10, 6.79°)
OKLaboklab(42.97% 0.1398 0.0143)
OKLCHoklch(42.97% 0.141 5.8)
XYZxyz(12.0977, 6.9663, 6.1753)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2244 #228A68
analogous
#8A2278 #8A2244 #8A3422
triadic
#8A2244 #448A22 #22448A
tetradic
#8A2244 #788A22 #228A68 #34228A
square
#8A2244 #788A22 #228A68 #34228A
split-complementary
#8A2244 #228A34 #22788A
monochromatic
#280A14 #59162C #8A2244 #BB2E5C #D4527D

Accessibility & contrast

On white

8.78
#8A2244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A2244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2244
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2244#FFFFFF#000000##FFFFFF
##8A22441.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D45
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#970B30
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2244;
/* rgb */ color: rgb(138, 34, 68);
/* oklch */ color: oklch(43.0% 0.141 5.8);
Tailwind
colors: {
  custom: {
    50: '#b16777',
    500: '#8a2244',
    950: '#000000',
  },
}
SCSS
$custom: #8a2244;
$custom-light: #b16777;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2244",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 68
  },
  "hsl": {
    "h": 340.385,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.14051,
    "h": 5.8
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#8A2244
secondary
#50B896
accent
#E4AF44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2244

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

Preview Lab → · Contrast checker → · Palette generator →

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