#8A2253#8A2253

#8A2253 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.145 H 356.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8A2253
RGBrgb(138, 34, 83)
HSLhsl(332, 60%, 34%)
HSVhsv(332, 75%, 54%)
CMYKcmyk(0%, 75.4%, 39.9%, 45.9%)
CIE-LABlab(32.20, 47.30, -3.70)
CIE-LCHlch(32.20, 47.44, 355.52°)
OKLaboklab(43.46% 0.1452 -0.0091)
OKLCHoklch(43.46% 0.145 356.4)
XYZxyz(12.6154, 7.1734, 8.9022)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2253 #228A59
analogous
#8A2287 #8A2253 #8A2522
triadic
#8A2253 #538A22 #22538A
tetradic
#8A2253 #878A22 #228A59 #25228A
square
#8A2253 #878A22 #228A59 #25228A
split-complementary
#8A2253 #228A25 #22878A
monochromatic
#280A18 #591635 #8A2253 #BB2E71 #D4528F

Accessibility & contrast

On white

8.63
#8A2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2253
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2253#FFFFFF#000000##FFFFFF
##8A22531.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F54
Deuteranopia (green-blind)
#535351
Tritanopia (blue-blind)
#951537
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2253;
/* rgb */ color: rgb(138, 34, 83);
/* oklch */ color: oklch(43.5% 0.145 356.4);
Tailwind
colors: {
  custom: {
    50: '#b16783',
    500: '#8a2253',
    950: '#000000',
  },
}
SCSS
$custom: #8a2253;
$custom-light: #b16783;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2253",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 331.731,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.14547,
    "h": 356.4
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#8A2253
secondary
#50B887
accent
#E49844
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A2253

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

Preview Lab → · Contrast checker → · Palette generator →

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