#A42F5C#A42F5C

#A42F5C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.157 H 1.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A42F5C
RGBrgb(164, 47, 92)
HSLhsl(337, 55%, 41%)
HSVhsv(337, 71%, 64%)
CMYKcmyk(0%, 71.3%, 43.9%, 35.7%)
CIE-LABlab(39.07, 51.13, 1.17)
CIE-LCHlch(39.07, 51.14, 1.31°)
OKLaboklab(49.52% 0.1566 0.0036)
OKLCHoklch(49.52% 0.157 1.3)
XYZxyz(18.2595, 10.7006, 11.2270)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F5C #2FA477
analogous
#A42F97 #A42F5C #A43D2F
triadic
#A42F5C #5CA42F #2F5CA4
tetradic
#A42F5C #97A42F #2FA477 #3D2FA4
square
#A42F5C #97A42F #2FA477 #3D2FA4
split-complementary
#A42F5C #2FA43D #2F97A4
monochromatic
#451427 #742141 #A42F5C #CA4679 #D8769B

Accessibility & contrast

On white

6.69
#A42F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A42F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F5C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F5C#FFFFFF#000000##FFFFFF
##A42F5C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5D
Deuteranopia (green-blind)
#676459
Tritanopia (blue-blind)
#B21E42
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42f5c;
/* rgb */ color: rgb(164, 47, 92);
/* oklch */ color: oklch(49.5% 0.157 1.3);
Tailwind
colors: {
  custom: {
    50: '#c4718a',
    500: '#a42f5c',
    950: '#000000',
  },
}
SCSS
$custom: #a42f5c;
$custom-light: #c4718a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f5c",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 336.923,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49519,
    "c": 0.15667,
    "h": 1.3
  },
  "luminance": 0.10698
}

Semantic roles & 50–950 ramp

primary
#A42F5C
secondary
#6FC0A1
accent
#DFA549
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A42F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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