#8A2268#8A2268

#8A2268 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.157 H 344.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8A2268
RGBrgb(138, 34, 104)
HSLhsl(320, 60%, 34%)
HSVhsv(320, 75%, 54%)
CMYKcmyk(0%, 75.4%, 24.6%, 45.9%)
CIE-LABlab(33.02, 49.91, -16.03)
CIE-LCHlch(33.02, 52.42, 342.19°)
OKLaboklab(44.34% 0.1507 -0.0428)
OKLCHoklch(44.34% 0.157 344.2)
XYZxyz(13.5525, 7.5482, 13.8373)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2268 #228A44
analogous
#78228A #8A2268 #8A2234
triadic
#8A2268 #688A22 #22688A
tetradic
#8A2268 #8A7822 #228A44 #22348A
square
#8A2268 #8A7822 #228A44 #22348A
split-complementary
#8A2268 #348A22 #228A78
monochromatic
#280A1E #591643 #8A2268 #BB2E8D #D452AA

Accessibility & contrast

On white

8.37
#8A2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2268
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2268#FFFFFF#000000##FFFFFF
##8A22681.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E436A
Deuteranopia (green-blind)
#4E5466
Tritanopia (blue-blind)
#932142
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2268;
/* rgb */ color: rgb(138, 34, 104);
/* oklch */ color: oklch(44.3% 0.157 344.2);
Tailwind
colors: {
  custom: {
    50: '#b06893',
    500: '#8a2268',
    950: '#000000',
  },
}
SCSS
$custom: #8a2268;
$custom-light: #b06893;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2268",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 319.615,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44337,
    "c": 0.15668,
    "h": 344.2
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#8A2268
secondary
#50B872
accent
#E47844
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2268

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

Preview Lab → · Contrast checker → · Palette generator →

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