#8A223D#8A223D

#8A223D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.139 H 10.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#8A223D
RGBrgb(138, 34, 61)
HSLhsl(344, 60%, 34%)
HSVhsv(344, 75%, 54%)
CMYKcmyk(0%, 75.4%, 55.8%, 45.9%)
CIE-LABlab(31.55, 45.17, 9.80)
CIE-LCHlch(31.55, 46.22, 12.24°)
OKLaboklab(42.77% 0.137 0.0248)
OKLCHoklch(42.77% 0.139 10.3)
XYZxyz(11.8967, 6.8859, 5.1166)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A223D #228A6F
analogous
#8A2271 #8A223D #8A3B22
triadic
#8A223D #3D8A22 #223D8A
tetradic
#8A223D #718A22 #228A6F #3B228A
square
#8A223D #718A22 #228A6F #3B228A
split-complementary
#8A223D #228A3B #22718A
monochromatic
#280A12 #591627 #8A223D #BB2E53 #D45274

Accessibility & contrast

On white

8.84
#8A223D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A223D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A223D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A223D#FFFFFF#000000##FFFFFF
##8A223D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3D
Deuteranopia (green-blind)
#58523A
Tritanopia (blue-blind)
#97062D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a223d;
/* rgb */ color: rgb(138, 34, 61);
/* oklch */ color: oklch(42.8% 0.139 10.3);
Tailwind
colors: {
  custom: {
    50: '#b26672',
    500: '#8a223d',
    950: '#000000',
  },
}
SCSS
$custom: #8a223d;
$custom-light: #b26672;
$custom-dark: #000000;
JSON
{
  "hex": "#8a223d",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 61
  },
  "hsl": {
    "h": 344.423,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42769,
    "c": 0.13922,
    "h": 10.3
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#8A223D
secondary
#50B89D
accent
#E4BA44
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A223D

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

Preview Lab → · Contrast checker → · Palette generator →

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