#A8337C#A8337C

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

Color values

HEX#A8337C
RGBrgb(168, 51, 124)
HSLhsl(323, 53%, 43%)
HSVhsv(323, 70%, 66%)
CMYKcmyk(0%, 69.6%, 26.2%, 34.1%)
CIE-LABlab(41.45, 54.49, -15.21)
CIE-LCHlch(41.45, 56.57, 344.41°)
OKLaboklab(51.77% 0.165 -0.0402)
OKLCHoklch(51.77% 0.17 346.3)
XYZxyz(20.9712, 12.1499, 20.3056)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8337C #33A85F
analogous
#9933A8 #A8337C #A83341
triadic
#A8337C #7CA833 #337CA8
tetradic
#A8337C #A89933 #33A85F #3341A8
square
#A8337C #A89933 #33A85F #3341A8
split-complementary
#A8337C #41A833 #33A899
monochromatic
#4A1637 #792559 #A8337C #C94F9B #D87EB6

Accessibility & contrast

On white

6.12
#A8337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8337C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8337C#FFFFFF#000000##FFFFFF
##A8337C1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#B33053
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8337c;
/* rgb */ color: rgb(168, 51, 124);
/* oklch */ color: oklch(51.8% 0.170 346.3);
Tailwind
colors: {
  custom: {
    50: '#c674a2',
    500: '#a8337c',
    950: '#000000',
  },
}
SCSS
$custom: #a8337c;
$custom-light: #c674a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8337c",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 322.564,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.16985,
    "h": 346.3
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#A8337C
secondary
#76C192
accent
#DD824B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A8337C

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

Preview Lab → · Contrast checker → · Palette generator →

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