#A42F90#A42F90

#A42F90 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.185 H 335.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A42F90
RGBrgb(164, 47, 144)
HSLhsl(310, 55%, 41%)
HSVhsv(310, 71%, 64%)
CMYKcmyk(0%, 71.3%, 12.2%, 35.7%)
CIE-LABlab(41.12, 57.78, -28.03)
CIE-LCHlch(41.12, 64.21, 334.12°)
OKLaboklab(51.69% 0.169 -0.0764)
OKLCHoklch(51.69% 0.185 335.7)
XYZxyz(21.3607, 11.9410, 27.5600)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F90 #2FA443
analogous
#7E2FA4 #A42F90 #A42F56
triadic
#A42F90 #90A42F #2F90A4
tetradic
#A42F90 #A47E2F #2FA443 #2F56A4
square
#A42F90 #A47E2F #2FA443 #2F56A4
split-complementary
#A42F90 #56A42F #2FA47E
monochromatic
#45143C #742166 #A42F90 #CA46B3 #D876C7

Accessibility & contrast

On white

6.20
#A42F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A42F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F90
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F90#FFFFFF#000000##FFFFFF
##A42F901.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305693
Deuteranopia (green-blind)
#58678D
Tritanopia (blue-blind)
#AC375C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42f90;
/* rgb */ color: rgb(164, 47, 144);
/* oklch */ color: oklch(51.7% 0.185 335.7);
Tailwind
colors: {
  custom: {
    50: '#c272b1',
    500: '#a42f90',
    950: '#000000',
  },
}
SCSS
$custom: #a42f90;
$custom-light: #c272b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f90",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 310.256,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.18543,
    "h": 335.7
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#A42F90
secondary
#6FC07D
accent
#DF6349
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #A42F90

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

Preview Lab → · Contrast checker → · Palette generator →

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