#A3338D#A3338D

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

Color values

HEX#A3338D
RGBrgb(163, 51, 141)
HSLhsl(312, 52%, 42%)
HSVhsv(312, 69%, 64%)
CMYKcmyk(0%, 68.7%, 13.5%, 36.1%)
CIE-LABlab(41.34, 55.57, -25.87)
CIE-LCHlch(41.34, 61.30, 335.04°)
OKLaboklab(51.77% 0.1631 -0.0703)
OKLCHoklch(51.77% 0.178 336.7)
XYZxyz(21.0961, 12.0791, 26.4146)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3338D #33A349
analogous
#8133A3 #A3338D #A33355
triadic
#A3338D #8DA333 #338DA3
tetradic
#A3338D #A38133 #33A349 #3355A3
square
#A3338D #A38133 #33A349 #3355A3
split-complementary
#A3338D #55A333 #33A381
monochromatic
#46163C #742465 #A3338D #C74CAF #D67BC4

Accessibility & contrast

On white

6.15
#A3338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A3338D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3338D#FFFFFF#000000##FFFFFF
##A3338D1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#5A688A
Tritanopia (blue-blind)
#AB395B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a3338d;
/* rgb */ color: rgb(163, 51, 141);
/* oklch */ color: oklch(51.8% 0.178 336.7);
Tailwind
colors: {
  custom: {
    50: '#c274ae',
    500: '#a3338d',
    950: '#000000',
  },
}
SCSS
$custom: #a3338d;
$custom-light: #c274ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a3338d",
  "rgb": {
    "r": 163,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 311.786,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.17763,
    "h": 336.7
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#A3338D
secondary
#73BE82
accent
#DC684C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A3338D

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

Preview Lab → · Contrast checker → · Palette generator →

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