#8A2274#8A2274

#8A2274 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.165 H 337.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8A2274
RGBrgb(138, 34, 116)
HSLhsl(313, 60%, 34%)
HSVhsv(313, 75%, 54%)
CMYKcmyk(0%, 75.4%, 15.9%, 45.9%)
CIE-LABlab(33.58, 51.63, -22.79)
CIE-LCHlch(33.58, 56.43, 336.18°)
OKLaboklab(44.93% 0.1527 -0.0619)
OKLCHoklch(44.93% 0.165 337.9)
XYZxyz(14.2059, 7.8096, 17.2789)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2274 #228A38
analogous
#6C228A #8A2274 #8A2240
triadic
#8A2274 #748A22 #22748A
tetradic
#8A2274 #8A6C22 #228A38 #22408A
square
#8A2274 #8A6C22 #228A38 #22408A
split-complementary
#8A2274 #408A22 #228A6C
monochromatic
#280A21 #59164B #8A2274 #BB2E9D #D452B9

Accessibility & contrast

On white

8.20
#8A2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2274
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2274#FFFFFF#000000##FFFFFF
##8A22741.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264576
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#922748
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2274;
/* rgb */ color: rgb(138, 34, 116);
/* oklch */ color: oklch(44.9% 0.165 337.9);
Tailwind
colors: {
  custom: {
    50: '#b0689c',
    500: '#8a2274',
    950: '#000000',
  },
}
SCSS
$custom: #8a2274;
$custom-light: #b0689c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2274",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 312.692,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.16474,
    "h": 337.9
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#8A2274
secondary
#50B866
accent
#E46644
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2274

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

Preview Lab → · Contrast checker → · Palette generator →

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