#A8337B#A8337B

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

Color values

HEX#A8337B
RGBrgb(168, 51, 123)
HSLhsl(323, 53%, 43%)
HSVhsv(323, 70%, 66%)
CMYKcmyk(0%, 69.6%, 26.8%, 34.1%)
CIE-LABlab(41.41, 54.36, -14.65)
CIE-LCHlch(41.41, 56.30, 344.92°)
OKLaboklab(51.73% 0.1648 -0.0387)
OKLCHoklch(51.73% 0.169 346.8)
XYZxyz(20.9083, 12.1247, 19.9743)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8337B #33A860
analogous
#9A33A8 #A8337B #A83340
triadic
#A8337B #7BA833 #337BA8
tetradic
#A8337B #A89A33 #33A860 #3340A8
square
#A8337B #A89A33 #33A860 #3340A8
split-complementary
#A8337B #40A833 #33A89A
monochromatic
#4A1636 #792559 #A8337B #C94F9A #D87EB5

Accessibility & contrast

On white

6.13
#A8337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8337B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8337B#FFFFFF#000000##FFFFFF
##A8337B1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#B43052
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8337b;
/* rgb */ color: rgb(168, 51, 123);
/* oklch */ color: oklch(51.7% 0.169 346.8);
Tailwind
colors: {
  custom: {
    50: '#c674a1',
    500: '#a8337b',
    950: '#000000',
  },
}
SCSS
$custom: #a8337b;
$custom-light: #c674a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8337b",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 323.077,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.16927,
    "h": 346.8
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#A8337B
secondary
#76C193
accent
#DD834B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A8337B

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

Preview Lab → · Contrast checker → · Palette generator →

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