#A8337A#A8337A

#A8337A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.169 H 347.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A8337A
RGBrgb(168, 51, 122)
HSLhsl(324, 53%, 43%)
HSVhsv(324, 70%, 66%)
CMYKcmyk(0%, 69.6%, 27.4%, 34.1%)
CIE-LABlab(41.37, 54.23, -14.09)
CIE-LCHlch(41.37, 56.03, 345.43°)
OKLaboklab(51.69% 0.1645 -0.0372)
OKLCHoklch(51.69% 0.169 347.3)
XYZxyz(20.8460, 12.0998, 19.6463)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8337A #33A861
analogous
#9C33A8 #A8337A #A8333F
triadic
#A8337A #7AA833 #337AA8
tetradic
#A8337A #A89C33 #33A861 #333FA8
square
#A8337A #A89C33 #33A861 #333FA8
split-complementary
#A8337A #3FA833 #33A89C
monochromatic
#4A1636 #792558 #A8337A #C94F99 #D87EB4

Accessibility & contrast

On white

6.14
#A8337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A8337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8337A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8337A#FFFFFF#000000##FFFFFF
##A8337A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557C
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#B42F52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8337a;
/* rgb */ color: rgb(168, 51, 122);
/* oklch */ color: oklch(51.7% 0.169 347.3);
Tailwind
colors: {
  custom: {
    50: '#c674a0',
    500: '#a8337a',
    950: '#000000',
  },
}
SCSS
$custom: #a8337a;
$custom-light: #c674a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8337a",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 323.59,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.16869,
    "h": 347.3
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#A8337A
secondary
#76C193
accent
#DD844B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A8337A

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

Preview Lab → · Contrast checker → · Palette generator →

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