#A42B5F#A42B5F

#A42B5F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.162 H 359.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A42B5F
RGBrgb(164, 43, 95)
HSLhsl(334, 58%, 41%)
HSVhsv(334, 74%, 64%)
CMYKcmyk(0%, 73.8%, 42.1%, 35.7%)
CIE-LABlab(38.64, 52.90, -1.37)
CIE-LCHlch(38.64, 52.92, 358.52°)
OKLaboklab(49.23% 0.1624 -0.0029)
OKLCHoklch(49.23% 0.162 359)
XYZxyz(18.2406, 10.4488, 11.8805)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B5F #2BA470
analogous
#A42B9B #A42B5F #A4342B
triadic
#A42B5F #5FA42B #2B5FA4
tetradic
#A42B5F #9BA42B #2BA470 #342BA4
square
#A42B5F #9BA42B #2BA470 #342BA4
split-complementary
#A42B5F #2BA434 #2B9BA4
monochromatic
#431227 #741E43 #A42B5F #CD3F7C #D9709D

Accessibility & contrast

On white

6.80
#A42B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A42B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B5F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B5F#FFFFFF#000000##FFFFFF
##A42B5F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B21A41
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a42b5f;
/* rgb */ color: rgb(164, 43, 95);
/* oklch */ color: oklch(49.2% 0.162 359.0);
Tailwind
colors: {
  custom: {
    50: '#c46f8c',
    500: '#a42b5f',
    950: '#000000',
  },
}
SCSS
$custom: #a42b5f;
$custom-light: #c46f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b5f",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 334.215,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.16238,
    "h": 359
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#A42B5F
secondary
#6AC19B
accent
#E29F46
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A42B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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