#A4297F#A4297F

#A4297F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.181 H 342.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A4297F
RGBrgb(164, 41, 127)
HSLhsl(318, 60%, 40%)
HSVhsv(318, 75%, 64%)
CMYKcmyk(0%, 75%, 22.6%, 35.7%)
CIE-LABlab(39.60, 57.41, -19.96)
CIE-LCHlch(39.60, 60.78, 340.82°)
OKLaboklab(50.33% 0.1728 -0.0535)
OKLCHoklch(50.33% 0.181 342.8)
XYZxyz(19.9343, 11.0128, 21.1504)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4297F #29A44E
analogous
#8C29A4 #A4297F #A42941
triadic
#A4297F #7FA429 #297FA4
tetradic
#A4297F #A48C29 #29A44E #2941A4
square
#A4297F #A48C29 #29A44E #2941A4
split-complementary
#A4297F #41A429 #29A48C
monochromatic
#421133 #731D59 #A4297F #CE3CA2 #DA6DBA

Accessibility & contrast

On white

6.56
#A4297F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A4297F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4297F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4297F#FFFFFF#000000##FFFFFF
##A4297F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#AF2A51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4297f;
/* rgb */ color: rgb(164, 41, 127);
/* oklch */ color: oklch(50.3% 0.181 342.8);
Tailwind
colors: {
  custom: {
    50: '#c36fa4',
    500: '#a4297f',
    950: '#000000',
  },
}
SCSS
$custom: #a4297f;
$custom-light: #c36fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a4297f",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 318.049,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.18088,
    "h": 342.8
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#A4297F
secondary
#68C183
accent
#E37445
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A4297F

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

Preview Lab → · Contrast checker → · Palette generator →

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