#A42A4F#A42A4F

#A42A4F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.159 H 7.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A42A4F
RGBrgb(164, 42, 79)
HSLhsl(342, 59%, 40%)
HSVhsv(342, 74%, 64%)
CMYKcmyk(0%, 74.4%, 51.8%, 35.7%)
CIE-LABlab(38.05, 51.75, 7.97)
CIE-LCHlch(38.05, 52.36, 8.75°)
OKLaboklab(48.65% 0.1577 0.0206)
OKLCHoklch(48.65% 0.159 7.4)
XYZxyz(17.5506, 10.1154, 8.4239)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A4F #2AA47F
analogous
#A42A8C #A42A4F #A4422A
triadic
#A42A4F #4FA42A #2A4FA4
tetradic
#A42A4F #8CA42A #2AA47F #422AA4
square
#A42A4F #8CA42A #2AA47F #422AA4
split-complementary
#A42A4F #2AA442 #2A8CA4
monochromatic
#431120 #731E38 #A42A4F #CD3E69 #DA6E8F

Accessibility & contrast

On white

6.95
#A42A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A42A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A4F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A4F#FFFFFF#000000##FFFFFF
##A42A4F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A50
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#B30D39
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42a4f;
/* rgb */ color: rgb(164, 42, 79);
/* oklch */ color: oklch(48.6% 0.159 7.4);
Tailwind
colors: {
  custom: {
    50: '#c56e80',
    500: '#a42a4f',
    950: '#000000',
  },
}
SCSS
$custom: #a42a4f;
$custom-light: #c56e80;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a4f",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 341.803,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48645,
    "c": 0.15903,
    "h": 7.4
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#A42A4F
secondary
#69C1A6
accent
#E2B345
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A42A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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