#A42F6B#A42F6B

#A42F6B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.163 H 353.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A42F6B
RGBrgb(164, 47, 107)
HSLhsl(329, 55%, 41%)
HSVhsv(329, 71%, 64%)
CMYKcmyk(0%, 71.3%, 34.8%, 35.7%)
CIE-LABlab(39.56, 52.76, -7.56)
CIE-LCHlch(39.56, 53.30, 351.84°)
OKLaboklab(50.04% 0.1615 -0.0194)
OKLCHoklch(50.04% 0.163 353.2)
XYZxyz(18.9813, 10.9893, 15.0286)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F6B #2FA468
analogous
#A32FA4 #A42F6B #A42F31
triadic
#A42F6B #6BA42F #2F6BA4
tetradic
#A42F6B #A4A32F #2FA468 #2F31A4
square
#A42F6B #A4A32F #2FA468 #2F31A4
split-complementary
#A42F6B #31A42F #2FA4A3
monochromatic
#45142D #74214C #A42F6B #CA468A #D876A8

Accessibility & contrast

On white

6.57
#A42F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42F6B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F6B#FFFFFF#000000##FFFFFF
##A42F6B1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506D
Deuteranopia (green-blind)
#646568
Tritanopia (blue-blind)
#B12649
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42f6b;
/* rgb */ color: rgb(164, 47, 107);
/* oklch */ color: oklch(50.0% 0.163 353.2);
Tailwind
colors: {
  custom: {
    50: '#c37195',
    500: '#a42f6b',
    950: '#000000',
  },
}
SCSS
$custom: #a42f6b;
$custom-light: #c37195;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f6b",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 329.231,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.16265,
    "h": 353.2
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#A42F6B
secondary
#6FC096
accent
#DF9249
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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