#A42C5F#A42C5F

#A42C5F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.161 H 359.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A42C5F
RGBrgb(164, 44, 95)
HSLhsl(335, 58%, 41%)
HSVhsv(335, 73%, 64%)
CMYKcmyk(0%, 73.2%, 42.1%, 35.7%)
CIE-LABlab(38.76, 52.55, -1.18)
CIE-LCHlch(38.76, 52.56, 358.71°)
OKLaboklab(49.32% 0.1612 -0.0025)
OKLCHoklch(49.32% 0.161 359.1)
XYZxyz(18.2774, 10.5224, 11.8928)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C5F #2CA471
analogous
#A42C9B #A42C5F #A4352C
triadic
#A42C5F #5FA42C #2C5FA4
tetradic
#A42C5F #9BA42C #2CA471 #352CA4
square
#A42C5F #9BA42C #2CA471 #352CA4
split-complementary
#A42C5F #2CA435 #2C9BA4
monochromatic
#431227 #741F43 #A42C5F #CC417C #D9719D

Accessibility & contrast

On white

6.77
#A42C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A42C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C5F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C5F#FFFFFF#000000##FFFFFF
##A42C5F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#66645C
Tritanopia (blue-blind)
#B21B42
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a42c5f;
/* rgb */ color: rgb(164, 44, 95);
/* oklch */ color: oklch(49.3% 0.161 359.1);
Tailwind
colors: {
  custom: {
    50: '#c46f8c',
    500: '#a42c5f',
    950: '#000000',
  },
}
SCSS
$custom: #a42c5f;
$custom-light: #c46f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c5f",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 334.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49323,
    "c": 0.16123,
    "h": 359.1
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#A42C5F
secondary
#6BC09C
accent
#E19F47
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A42C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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