#A3338B#A3338B

#A3338B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.176 H 337.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A3338B
RGBrgb(163, 51, 139)
HSLhsl(313, 52%, 42%)
HSVhsv(313, 69%, 64%)
CMYKcmyk(0%, 68.7%, 14.7%, 36.1%)
CIE-LABlab(41.25, 55.27, -24.80)
CIE-LCHlch(41.25, 60.57, 335.83°)
OKLaboklab(51.67% 0.1628 -0.0672)
OKLCHoklch(51.67% 0.176 337.6)
XYZxyz(20.9487, 12.0201, 25.6379)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3338B #33A34B
analogous
#8333A3 #A3338B #A33353
triadic
#A3338B #8BA333 #338BA3
tetradic
#A3338B #A38333 #33A34B #3353A3
square
#A3338B #A38333 #33A34B #3353A3
split-complementary
#A3338B #53A333 #33A383
monochromatic
#46163B #742463 #A3338B #C74CAD #D67BC2

Accessibility & contrast

On white

6.17
#A3338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A3338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3338B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3338B#FFFFFF#000000##FFFFFF
##A3338B1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568E
Deuteranopia (green-blind)
#5B6888
Tritanopia (blue-blind)
#AC385A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a3338b;
/* rgb */ color: rgb(163, 51, 139);
/* oklch */ color: oklch(51.7% 0.176 337.6);
Tailwind
colors: {
  custom: {
    50: '#c274ad',
    500: '#a3338b',
    950: '#000000',
  },
}
SCSS
$custom: #a3338b;
$custom-light: #c274ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a3338b",
  "rgb": {
    "r": 163,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 312.857,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.17618,
    "h": 337.6
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#A3338B
secondary
#73BE84
accent
#DC6B4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A3338B

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

Preview Lab → · Contrast checker → · Palette generator →

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