#8A2270#8A2270

#8A2270 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.162 H 340.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8A2270
RGBrgb(138, 34, 112)
HSLhsl(315, 60%, 34%)
HSVhsv(315, 75%, 54%)
CMYKcmyk(0%, 75.4%, 18.8%, 45.9%)
CIE-LABlab(33.39, 51.03, -20.56)
CIE-LCHlch(33.39, 55.02, 338.06°)
OKLaboklab(44.72% 0.1521 -0.0555)
OKLCHoklch(44.72% 0.162 340)
XYZxyz(13.9783, 7.7186, 16.0798)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2270 #228A3C
analogous
#70228A #8A2270 #8A223C
triadic
#8A2270 #708A22 #22708A
tetradic
#8A2270 #8A7022 #228A3C #223C8A
square
#8A2270 #8A7022 #228A3C #223C8A
split-complementary
#8A2270 #3C8A22 #228A70
monochromatic
#280A20 #591648 #8A2270 #BB2E98 #D452B4

Accessibility & contrast

On white

8.26
#8A2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A2270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2270
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2270#FFFFFF#000000##FFFFFF
##8A22701.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294472
Deuteranopia (green-blind)
#4B546E
Tritanopia (blue-blind)
#922546
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2270;
/* rgb */ color: rgb(138, 34, 112);
/* oklch */ color: oklch(44.7% 0.162 340.0);
Tailwind
colors: {
  custom: {
    50: '#b06899',
    500: '#8a2270',
    950: '#000000',
  },
}
SCSS
$custom: #8a2270;
$custom-light: #b06899;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2270",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 315,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44722,
    "c": 0.16195,
    "h": 340
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#8A2270
secondary
#50B86A
accent
#E46C44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2270

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

Preview Lab → · Contrast checker → · Palette generator →

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