#A2307C#A2307C

#A2307C is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.169 H 344.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A2307C
RGBrgb(162, 48, 124)
HSLhsl(320, 54%, 41%)
HSVhsv(320, 70%, 64%)
CMYKcmyk(0%, 70.4%, 23.5%, 36.5%)
CIE-LABlab(40.00, 53.99, -17.52)
CIE-LCHlch(40.00, 56.76, 342.02°)
OKLaboklab(50.51% 0.1627 -0.0467)
OKLCHoklch(50.51% 0.169 344)
XYZxyz(19.5960, 11.2525, 20.2048)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2307C #30A256
analogous
#8F30A2 #A2307C #A23043
triadic
#A2307C #7CA230 #307CA2
tetradic
#A2307C #A28F30 #30A256 #3043A2
square
#A2307C #A28F30 #30A256 #3043A2
split-complementary
#A2307C #43A230 #30A28F
monochromatic
#441434 #732258 #A2307C #C8479D #D676B6

Accessibility & contrast

On white

6.46
#A2307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A2307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2307C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2307C#FFFFFF#000000##FFFFFF
##A2307C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#AD2F52
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2307c;
/* rgb */ color: rgb(162, 48, 124);
/* oklch */ color: oklch(50.5% 0.169 344.0);
Tailwind
colors: {
  custom: {
    50: '#c172a2',
    500: '#a2307c',
    950: '#000000',
  },
}
SCSS
$custom: #a2307c;
$custom-light: #c172a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2307c",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 320,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.16924,
    "h": 344
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#A2307C
secondary
#6FBE8A
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2307C

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

Preview Lab → · Contrast checker → · Palette generator →

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