#A2307F#A2307F

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

Color values

HEX#A2307F
RGBrgb(162, 48, 127)
HSLhsl(318, 54%, 41%)
HSVhsv(318, 70%, 64%)
CMYKcmyk(0%, 70.4%, 21.6%, 36.5%)
CIE-LABlab(40.13, 54.40, -19.18)
CIE-LCHlch(40.13, 57.68, 340.58°)
OKLaboklab(50.65% 0.1633 -0.0514)
OKLCHoklch(50.65% 0.171 342.5)
XYZxyz(19.7886, 11.3296, 21.2192)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2307F #30A253
analogous
#8C30A2 #A2307F #A23046
triadic
#A2307F #7FA230 #307FA2
tetradic
#A2307F #A28C30 #30A253 #3046A2
square
#A2307F #A28C30 #30A253 #3046A2
split-complementary
#A2307F #46A230 #30A28C
monochromatic
#441435 #73225A #A2307F #C847A1 #D676B9

Accessibility & contrast

On white

6.43
#A2307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A2307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2307F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2307F#FFFFFF#000000##FFFFFF
##A2307F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5381
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#AC3153
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2307f;
/* rgb */ color: rgb(162, 48, 127);
/* oklch */ color: oklch(50.6% 0.171 342.5);
Tailwind
colors: {
  custom: {
    50: '#c172a4',
    500: '#a2307f',
    950: '#000000',
  },
}
SCSS
$custom: #a2307f;
$custom-light: #c172a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2307f",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 318.421,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.17115,
    "h": 342.5
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2307F

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

Preview Lab → · Contrast checker → · Palette generator →

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