#A2308A#A2308A

#A2308A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.179 H 337.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A2308A
RGBrgb(162, 48, 138)
HSLhsl(313, 54%, 41%)
HSVhsv(313, 70%, 64%)
CMYKcmyk(0%, 70.4%, 14.8%, 36.5%)
CIE-LABlab(40.63, 56.00, -25.17)
CIE-LCHlch(40.63, 61.39, 335.80°)
OKLaboklab(51.17% 0.1651 -0.0683)
OKLCHoklch(51.17% 0.179 337.5)
XYZxyz(20.5451, 11.6321, 25.2030)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2308A #30A248
analogous
#8130A2 #A2308A #A23051
triadic
#A2308A #8AA230 #308AA2
tetradic
#A2308A #A28130 #30A248 #3051A2
square
#A2308A #A28130 #30A248 #3051A2
split-complementary
#A2308A #51A230 #30A281
monochromatic
#44143A #732262 #A2308A #C847AD #D676C2

Accessibility & contrast

On white

6.31
#A2308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A2308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2308A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2308A#FFFFFF#000000##FFFFFF
##A2308A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#AB3659
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2308a;
/* rgb */ color: rgb(162, 48, 138);
/* oklch */ color: oklch(51.2% 0.179 337.5);
Tailwind
colors: {
  custom: {
    50: '#c172ac',
    500: '#a2308a',
    950: '#000000',
  },
}
SCSS
$custom: #a2308a;
$custom-light: #c172ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2308a",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 312.632,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.17864,
    "h": 337.5
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#A2308A
secondary
#6FBE80
accent
#DE694A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A2308A

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

Preview Lab → · Contrast checker → · Palette generator →

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