#A2308F#A2308F

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

Color values

HEX#A2308F
RGBrgb(162, 48, 143)
HSLhsl(310, 54%, 41%)
HSVhsv(310, 70%, 64%)
CMYKcmyk(0%, 70.4%, 11.7%, 36.5%)
CIE-LABlab(40.86, 56.76, -27.85)
CIE-LCHlch(40.86, 63.22, 333.87°)
OKLaboklab(51.42% 0.1657 -0.0759)
OKLCHoklch(51.42% 0.182 335.4)
XYZxyz(20.9154, 11.7803, 27.1535)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2308F #30A243
analogous
#7C30A2 #A2308F #A23056
triadic
#A2308F #8FA230 #308FA2
tetradic
#A2308F #A27C30 #30A243 #3056A2
square
#A2308F #A27C30 #30A243 #3056A2
split-complementary
#A2308F #56A230 #30A27C
monochromatic
#44143C #732265 #A2308F #C847B3 #D676C6

Accessibility & contrast

On white

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

On black

3.36
#A2308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A2308F#FFFFFF#000000##FFFFFF
##A2308F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#AA385B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2308f;
/* rgb */ color: rgb(162, 48, 143);
/* oklch */ color: oklch(51.4% 0.182 335.4);
Tailwind
colors: {
  custom: {
    50: '#c172b0',
    500: '#a2308f',
    950: '#000000',
  },
}
SCSS
$custom: #a2308f;
$custom-light: #c172b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2308f",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 310,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.18226,
    "h": 335.4
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#A2308F
secondary
#6FBE7D
accent
#DE634A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A2308F

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

Preview Lab → · Contrast checker → · Palette generator →

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