#A42F5E#A42F5E

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

Color values

HEX#A42F5E
RGBrgb(164, 47, 94)
HSLhsl(336, 55%, 41%)
HSVhsv(336, 71%, 64%)
CMYKcmyk(0%, 71.3%, 42.7%, 35.7%)
CIE-LABlab(39.13, 51.33, -0.01)
CIE-LCHlch(39.13, 51.33, 359.99°)
OKLaboklab(49.58% 0.1573 0.0006)
OKLCHoklch(49.58% 0.157 0.2)
XYZxyz(18.3481, 10.7360, 11.6935)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F5E #2FA475
analogous
#A42F99 #A42F5E #A43A2F
triadic
#A42F5E #5EA42F #2F5EA4
tetradic
#A42F5E #99A42F #2FA475 #3A2FA4
square
#A42F5E #99A42F #2FA475 #3A2FA4
split-complementary
#A42F5E #2FA43A #2F99A4
monochromatic
#451427 #742143 #A42F5E #CA467B #D8769D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42F5E#FFFFFF#000000##FFFFFF
##A42F5E1.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)
#474E5F
Deuteranopia (green-blind)
#67645B
Tritanopia (blue-blind)
#B21F43
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42f5e;
/* rgb */ color: rgb(164, 47, 94);
/* oklch */ color: oklch(49.6% 0.157 0.2);
Tailwind
colors: {
  custom: {
    50: '#c4718b',
    500: '#a42f5e',
    950: '#000000',
  },
}
SCSS
$custom: #a42f5e;
$custom-light: #c4718b;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f5e",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 335.897,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.15732,
    "h": 0.2
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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