#8A2262#8A2262

#8A2262 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.153 H 347.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A2262
RGBrgb(138, 34, 98)
HSLhsl(323, 60%, 34%)
HSVhsv(323, 75%, 54%)
CMYKcmyk(0%, 75.4%, 29%, 45.9%)
CIE-LABlab(32.77, 49.11, -12.57)
CIE-LCHlch(32.77, 50.69, 345.64°)
OKLaboklab(44.07% 0.1494 -0.0331)
OKLCHoklch(44.07% 0.153 347.5)
XYZxyz(13.2585, 7.4306, 12.2889)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2262 #228A4A
analogous
#7E228A #8A2262 #8A222E
triadic
#8A2262 #628A22 #22628A
tetradic
#8A2262 #8A7E22 #228A4A #222E8A
square
#8A2262 #8A7E22 #228A4A #222E8A
split-complementary
#8A2262 #2E8A22 #228A7E
monochromatic
#280A1C #59163F #8A2262 #BB2E85 #D452A2

Accessibility & contrast

On white

8.45
#8A2262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A2262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2262
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2262#FFFFFF#000000##FFFFFF
##8A22621.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314264
Deuteranopia (green-blind)
#505460
Tritanopia (blue-blind)
#941E3F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2262;
/* rgb */ color: rgb(138, 34, 98);
/* oklch */ color: oklch(44.1% 0.153 347.5);
Tailwind
colors: {
  custom: {
    50: '#b0678e',
    500: '#8a2262',
    950: '#000000',
  },
}
SCSS
$custom: #8a2262;
$custom-light: #b0678e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2262",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 323.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44067,
    "c": 0.15304,
    "h": 347.5
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#8A2262
secondary
#50B878
accent
#E48244
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2262

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

Preview Lab → · Contrast checker → · Palette generator →

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