#A42F83#A42F83

#A42F83 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.176 H 341.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A42F83
RGBrgb(164, 47, 131)
HSLhsl(317, 55%, 41%)
HSVhsv(317, 71%, 64%)
CMYKcmyk(0%, 71.3%, 20.1%, 35.7%)
CIE-LABlab(40.52, 55.87, -21.02)
CIE-LCHlch(40.52, 59.69, 339.39°)
OKLaboklab(51.05% 0.1671 -0.0565)
OKLCHoklch(51.05% 0.176 341.3)
XYZxyz(20.4237, 11.5662, 22.6252)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F83 #2FA450
analogous
#8B2FA4 #A42F83 #A42F49
triadic
#A42F83 #83A42F #2F83A4
tetradic
#A42F83 #A48B2F #2FA450 #2F49A4
square
#A42F83 #A48B2F #2FA450 #2F49A4
split-complementary
#A42F83 #49A42F #2FA48B
monochromatic
#451437 #74215D #A42F83 #CA46A5 #D876BC

Accessibility & contrast

On white

6.34
#A42F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A42F83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F83
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F83#FFFFFF#000000##FFFFFF
##A42F831.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#5D6680
Tritanopia (blue-blind)
#AE3155
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42f83;
/* rgb */ color: rgb(164, 47, 131);
/* oklch */ color: oklch(51.1% 0.176 341.3);
Tailwind
colors: {
  custom: {
    50: '#c372a7',
    500: '#a42f83',
    950: '#000000',
  },
}
SCSS
$custom: #a42f83;
$custom-light: #c372a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f83",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 316.923,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51053,
    "c": 0.17641,
    "h": 341.3
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#A42F83
secondary
#6FC086
accent
#DF7349
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42F83

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

Preview Lab → · Contrast checker → · Palette generator →

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