#A5308B#A5308B

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

Color values

HEX#A5308B
RGBrgb(165, 48, 139)
HSLhsl(313, 55%, 42%)
HSVhsv(313, 71%, 65%)
CMYKcmyk(0%, 70.9%, 15.8%, 35.3%)
CIE-LABlab(41.18, 56.91, -24.87)
CIE-LCHlch(41.18, 62.11, 336.39°)
OKLaboklab(51.69% 0.1683 -0.0674)
OKLCHoklch(51.69% 0.181 338.2)
XYZxyz(21.2346, 11.9793, 25.6150)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5308B #30A54A
analogous
#8530A5 #A5308B #A53051
triadic
#A5308B #8BA530 #308BA5
tetradic
#A5308B #A58530 #30A54A #3051A5
square
#A5308B #A58530 #30A54A #3051A5
split-complementary
#A5308B #51A530 #30A585
monochromatic
#46143B #762263 #A5308B #CA48AD #D878C2

Accessibility & contrast

On white

6.18
#A5308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5308B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5308B#FFFFFF#000000##FFFFFF
##A5308B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5308b;
/* rgb */ color: rgb(165, 48, 139);
/* oklch */ color: oklch(51.7% 0.181 338.2);
Tailwind
colors: {
  custom: {
    50: '#c373ad',
    500: '#a5308b',
    950: '#000000',
  },
}
SCSS
$custom: #a5308b;
$custom-light: #c373ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a5308b",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 313.333,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.18127,
    "h": 338.2
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#A5308B
secondary
#71C082
accent
#DE6B4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5308B

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

Preview Lab → · Contrast checker → · Palette generator →

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