#8A2267#8A2267

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

Color values

HEX#8A2267
RGBrgb(138, 34, 103)
HSLhsl(320, 60%, 34%)
HSVhsv(320, 75%, 54%)
CMYKcmyk(0%, 75.4%, 25.4%, 45.9%)
CIE-LABlab(32.98, 49.77, -15.46)
CIE-LCHlch(32.98, 52.11, 342.75°)
OKLaboklab(44.29% 0.1505 -0.0412)
OKLCHoklch(44.29% 0.156 344.7)
XYZxyz(13.5020, 7.5280, 13.5713)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2267 #228A45
analogous
#79228A #8A2267 #8A2233
triadic
#8A2267 #678A22 #22678A
tetradic
#8A2267 #8A7922 #228A45 #22338A
square
#8A2267 #8A7922 #228A45 #22338A
split-complementary
#8A2267 #338A22 #228A79
monochromatic
#280A1E #591642 #8A2267 #BB2E8C #D452A9

Accessibility & contrast

On white

8.38
#8A2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2267
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2267#FFFFFF#000000##FFFFFF
##8A22671.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4269
Deuteranopia (green-blind)
#4E5465
Tritanopia (blue-blind)
#932141
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2267;
/* rgb */ color: rgb(138, 34, 103);
/* oklch */ color: oklch(44.3% 0.156 344.7);
Tailwind
colors: {
  custom: {
    50: '#b06892',
    500: '#8a2267',
    950: '#000000',
  },
}
SCSS
$custom: #8a2267;
$custom-light: #b06892;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2267",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 320.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.15606,
    "h": 344.7
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#8A2267
secondary
#50B873
accent
#E47A44
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2267

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

Preview Lab → · Contrast checker → · Palette generator →

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