#A2307B#A2307B

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

Color values

HEX#A2307B
RGBrgb(162, 48, 123)
HSLhsl(321, 54%, 41%)
HSVhsv(321, 70%, 64%)
CMYKcmyk(0%, 70.4%, 24.1%, 36.5%)
CIE-LABlab(39.96, 53.85, -16.96)
CIE-LCHlch(39.96, 56.46, 342.51°)
OKLaboklab(50.47% 0.1625 -0.0452)
OKLCHoklch(50.47% 0.169 344.5)
XYZxyz(19.5331, 11.2273, 19.8734)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2307B #30A257
analogous
#9030A2 #A2307B #A23042
triadic
#A2307B #7BA230 #307BA2
tetradic
#A2307B #A29030 #30A257 #3042A2
square
#A2307B #A29030 #30A257 #3042A2
split-complementary
#A2307B #42A230 #30A290
monochromatic
#441433 #732257 #A2307B #C8479C #D676B5

Accessibility & contrast

On white

6.47
#A2307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2307B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2307B#FFFFFF#000000##FFFFFF
##A2307B1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#AD2F51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2307b;
/* rgb */ color: rgb(162, 48, 123);
/* oklch */ color: oklch(50.5% 0.169 344.5);
Tailwind
colors: {
  custom: {
    50: '#c172a1',
    500: '#a2307b',
    950: '#000000',
  },
}
SCSS
$custom: #a2307b;
$custom-light: #c172a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2307b",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 320.526,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50469,
    "c": 0.16861,
    "h": 344.5
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2307B

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

Preview Lab → · Contrast checker → · Palette generator →

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