#A2307E#A2307E

#A2307E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.171 H 343.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A2307E
RGBrgb(162, 48, 126)
HSLhsl(319, 54%, 41%)
HSVhsv(319, 70%, 64%)
CMYKcmyk(0%, 70.4%, 22.2%, 36.5%)
CIE-LABlab(40.09, 54.26, -18.63)
CIE-LCHlch(40.09, 57.37, 341.05°)
OKLaboklab(50.6% 0.1631 -0.0498)
OKLCHoklch(50.6% 0.171 343)
XYZxyz(19.7238, 11.3036, 20.8777)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2307E #30A254
analogous
#8D30A2 #A2307E #A23045
triadic
#A2307E #7EA230 #307EA2
tetradic
#A2307E #A28D30 #30A254 #3045A2
square
#A2307E #A28D30 #30A254 #3045A2
split-complementary
#A2307E #45A230 #30A28D
monochromatic
#441435 #732259 #A2307E #C8479F #D676B8

Accessibility & contrast

On white

6.44
#A2307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A2307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2307E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2307E#FFFFFF#000000##FFFFFF
##A2307E1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#AC3053
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2307e;
/* rgb */ color: rgb(162, 48, 126);
/* oklch */ color: oklch(50.6% 0.171 343.0);
Tailwind
colors: {
  custom: {
    50: '#c172a3',
    500: '#a2307e',
    950: '#000000',
  },
}
SCSS
$custom: #a2307e;
$custom-light: #c172a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2307e",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 318.947,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.17051,
    "h": 343
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#A2307E
secondary
#6FBE88
accent
#DE794A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2307E

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

Preview Lab → · Contrast checker → · Palette generator →

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