#A8337D#A8337D

#A8337D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.170 H 345.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A8337D
RGBrgb(168, 51, 125)
HSLhsl(322, 53%, 43%)
HSVhsv(322, 70%, 66%)
CMYKcmyk(0%, 69.6%, 25.6%, 34.1%)
CIE-LABlab(41.49, 54.62, -15.76)
CIE-LCHlch(41.49, 56.85, 343.90°)
OKLaboklab(51.81% 0.1652 -0.0418)
OKLCHoklch(51.81% 0.17 345.8)
XYZxyz(21.0348, 12.1753, 20.6404)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8337D #33A85E
analogous
#9833A8 #A8337D #A83343
triadic
#A8337D #7DA833 #337DA8
tetradic
#A8337D #A89833 #33A85E #3343A8
square
#A8337D #A89833 #33A85E #3343A8
split-complementary
#A8337D #43A833 #33A898
monochromatic
#4A1637 #79255A #A8337D #C94F9C #D87EB7

Accessibility & contrast

On white

6.11
#A8337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A8337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8337D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8337D#FFFFFF#000000##FFFFFF
##A8337D1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#B33153
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8337d;
/* rgb */ color: rgb(168, 51, 125);
/* oklch */ color: oklch(51.8% 0.170 345.8);
Tailwind
colors: {
  custom: {
    50: '#c674a2',
    500: '#a8337d',
    950: '#000000',
  },
}
SCSS
$custom: #a8337d;
$custom-light: #c674a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8337d",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 322.051,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.17044,
    "h": 345.8
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#A8337D
secondary
#76C192
accent
#DD814B
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A8337D

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

Preview Lab → · Contrast checker → · Palette generator →

#A8337D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva