#A3308B#A3308B

#A3308B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.180 H 337.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A3308B
RGBrgb(163, 48, 139)
HSLhsl(313, 55%, 41%)
HSVhsv(313, 71%, 64%)
CMYKcmyk(0%, 70.6%, 14.7%, 36.1%)
CIE-LABlab(40.84, 56.40, -25.43)
CIE-LCHlch(40.84, 61.87, 335.73°)
OKLaboklab(51.38% 0.1662 -0.069)
OKLCHoklch(51.38% 0.18 337.4)
XYZxyz(20.8218, 11.7664, 25.5956)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3308B #30A348
analogous
#8230A3 #A3308B #A33052
triadic
#A3308B #8BA330 #308BA3
tetradic
#A3308B #A38230 #30A348 #3052A3
square
#A3308B #A38230 #30A348 #3052A3
split-complementary
#A3308B #52A330 #30A382
monochromatic
#44143A #742263 #A3308B #C947AE #D777C3

Accessibility & contrast

On white

6.26
#A3308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A3308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3308B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3308B#FFFFFF#000000##FFFFFF
##A3308B1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#AC3659
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a3308b;
/* rgb */ color: rgb(163, 48, 139);
/* oklch */ color: oklch(51.4% 0.180 337.4);
Tailwind
colors: {
  custom: {
    50: '#c272ad',
    500: '#a3308b',
    950: '#000000',
  },
}
SCSS
$custom: #a3308b;
$custom-light: #c272ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a3308b",
  "rgb": {
    "r": 163,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 312.522,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.17999,
    "h": 337.4
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#A3308B
secondary
#70BF80
accent
#DE694A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A3308B

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

Preview Lab → · Contrast checker → · Palette generator →

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