#A42851#A42851

#A42851 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.162 H 6.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A42851
RGBrgb(164, 40, 81)
HSLhsl(340, 61%, 40%)
HSVhsv(340, 76%, 64%)
CMYKcmyk(0%, 75.6%, 50.6%, 35.7%)
CIE-LABlab(37.85, 52.62, 6.41)
CIE-LCHlch(37.85, 53.01, 6.95°)
OKLaboklab(48.52% 0.1607 0.0168)
OKLCHoklch(48.52% 0.162 6)
XYZxyz(17.5554, 10.0066, 8.7900)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42851 #28A47B
analogous
#A4288F #A42851 #A43D28
triadic
#A42851 #51A428 #2851A4
tetradic
#A42851 #8FA428 #28A47B #3D28A4
square
#A42851 #8FA428 #28A47B #3D28A4
split-complementary
#A42851 #28A43D #288FA4
monochromatic
#421020 #731C39 #A42851 #CF3A6B #DB6B90

Accessibility & contrast

On white

7.00
#A42851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A42851 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42851
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42851#FFFFFF#000000##FFFFFF
##A428511.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#B30939
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a42851;
/* rgb */ color: rgb(164, 40, 81);
/* oklch */ color: oklch(48.5% 0.162 6.0);
Tailwind
colors: {
  custom: {
    50: '#c56d81',
    500: '#a42851',
    950: '#000000',
  },
}
SCSS
$custom: #a42851;
$custom-light: #c56d81;
$custom-dark: #000000;
JSON
{
  "hex": "#a42851",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 340.161,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.48519,
    "c": 0.16155,
    "h": 6
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#A42851
secondary
#66C1A3
accent
#E4AF44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A42851

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

Preview Lab → · Contrast checker → · Palette generator →

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