#A42F5F#A42F5F

#A42F5F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.6% C 0.158 H 359.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A42F5F
RGBrgb(164, 47, 95)
HSLhsl(335, 55%, 41%)
HSVhsv(335, 71%, 64%)
CMYKcmyk(0%, 71.3%, 42.1%, 35.7%)
CIE-LABlab(39.16, 51.44, -0.60)
CIE-LCHlch(39.16, 51.44, 359.33°)
OKLaboklab(49.62% 0.1577 -0.0009)
OKLCHoklch(49.62% 0.158 359.7)
XYZxyz(18.3932, 10.7541, 11.9314)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F5F #2FA474
analogous
#A42F9A #A42F5F #A43A2F
triadic
#A42F5F #5FA42F #2F5FA4
tetradic
#A42F5F #9AA42F #2FA474 #3A2FA4
square
#A42F5F #9AA42F #2FA474 #3A2FA4
split-complementary
#A42F5F #2FA43A #2F9AA4
monochromatic
#451428 #742143 #A42F5F #CA467C #D8769E

Accessibility & contrast

On white

6.67
#A42F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A42F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F5F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F5F#FFFFFF#000000##FFFFFF
##A42F5F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#67645C
Tritanopia (blue-blind)
#B22043
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42f5f;
/* rgb */ color: rgb(164, 47, 95);
/* oklch */ color: oklch(49.6% 0.158 359.7);
Tailwind
colors: {
  custom: {
    50: '#c4718c',
    500: '#a42f5f',
    950: '#000000',
  },
}
SCSS
$custom: #a42f5f;
$custom-light: #c4718c;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f5f",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 335.385,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.15767,
    "h": 359.7
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#A42F5F
secondary
#6FC09F
accent
#DFA149
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A42F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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