#A2308D#A2308D

#A2308D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.181 H 336.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A2308D
RGBrgb(162, 48, 141)
HSLhsl(311, 54%, 41%)
HSVhsv(311, 70%, 64%)
CMYKcmyk(0%, 70.4%, 13%, 36.5%)
CIE-LABlab(40.77, 56.45, -26.78)
CIE-LCHlch(40.77, 62.48, 334.62°)
OKLaboklab(51.32% 0.1655 -0.0729)
OKLCHoklch(51.32% 0.181 336.2)
XYZxyz(20.7653, 11.7202, 26.3627)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2308D #30A245
analogous
#7E30A2 #A2308D #A23054
triadic
#A2308D #8DA230 #308DA2
tetradic
#A2308D #A27E30 #30A245 #3054A2
square
#A2308D #A27E30 #30A245 #3054A2
split-complementary
#A2308D #54A230 #30A27E
monochromatic
#44143B #732264 #A2308D #C847B1 #D676C5

Accessibility & contrast

On white

6.28
#A2308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A2308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2308D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2308D#FFFFFF#000000##FFFFFF
##A2308D1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325590
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#AA375A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2308d;
/* rgb */ color: rgb(162, 48, 141);
/* oklch */ color: oklch(51.3% 0.181 336.2);
Tailwind
colors: {
  custom: {
    50: '#c172ae',
    500: '#a2308d',
    950: '#000000',
  },
}
SCSS
$custom: #a2308d;
$custom-light: #c172ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2308d",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 311.053,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.1808,
    "h": 336.2
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#A2308D
secondary
#6FBE7E
accent
#DE654A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A2308D

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

Preview Lab → · Contrast checker → · Palette generator →

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