#A8336E#A8336E

#A8336E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.162 H 353.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A8336E
RGBrgb(168, 51, 110)
HSLhsl(330, 53%, 43%)
HSVhsv(330, 70%, 66%)
CMYKcmyk(0%, 69.6%, 34.5%, 34.1%)
CIE-LABlab(40.93, 52.74, -7.32)
CIE-LCHlch(40.93, 53.25, 352.10°)
OKLaboklab(51.22% 0.1613 -0.0187)
OKLCHoklch(51.22% 0.162 353.4)
XYZxyz(20.1479, 11.8206, 15.9694)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8336E #33A86D
analogous
#A833A8 #A8336E #A83333
triadic
#A8336E #6EA833 #336EA8
tetradic
#A8336E #A8A833 #33A86D #3333A8
square
#A8336E #A8A833 #33A86D #3333A8
split-complementary
#A8336E #33A833 #33A8A8
monochromatic
#4A1631 #79254F #A8336E #C94F8D #D87EAB

Accessibility & contrast

On white

6.24
#A8336E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A8336E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8336E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8336E#FFFFFF#000000##FFFFFF
##A8336E1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#B52A4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8336e;
/* rgb */ color: rgb(168, 51, 110);
/* oklch */ color: oklch(51.2% 0.162 353.4);
Tailwind
colors: {
  custom: {
    50: '#c67497',
    500: '#a8336e',
    950: '#000000',
  },
}
SCSS
$custom: #a8336e;
$custom-light: #c67497;
$custom-dark: #000000;
JSON
{
  "hex": "#a8336e",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 329.744,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.16239,
    "h": 353.4
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#A8336E
secondary
#76C19B
accent
#DD934B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #A8336E

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

Preview Lab → · Contrast checker → · Palette generator →

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