#A42B7D#A42B7D

#A42B7D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.177 H 343.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A42B7D
RGBrgb(164, 43, 125)
HSLhsl(319, 58%, 41%)
HSVhsv(319, 74%, 64%)
CMYKcmyk(0%, 73.8%, 23.8%, 35.7%)
CIE-LABlab(39.75, 56.46, -18.49)
CIE-LCHlch(39.75, 59.41, 341.87°)
OKLaboklab(50.41% 0.1704 -0.0494)
OKLCHoklch(50.41% 0.177 343.8)
XYZxyz(19.8761, 11.1030, 20.4944)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B7D #2BA452
analogous
#8E2BA4 #A42B7D #A42B40
triadic
#A42B7D #7DA42B #2B7DA4
tetradic
#A42B7D #A48E2B #2BA452 #2B40A4
square
#A42B7D #A48E2B #2BA452 #2B40A4
split-complementary
#A42B7D #40A42B #2BA48E
monochromatic
#431233 #741E58 #A42B7D #CD3F9F #D970B7

Accessibility & contrast

On white

6.52
#A42B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A42B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B7D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B7D#FFFFFF#000000##FFFFFF
##A42B7D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#5D657A
Tritanopia (blue-blind)
#AF2A50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42b7d;
/* rgb */ color: rgb(164, 43, 125);
/* oklch */ color: oklch(50.4% 0.177 343.8);
Tailwind
colors: {
  custom: {
    50: '#c370a2',
    500: '#a42b7d',
    950: '#000000',
  },
}
SCSS
$custom: #a42b7d;
$custom-light: #c370a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b7d",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 319.339,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.17737,
    "h": 343.8
  },
  "luminance": 0.11101
}

Semantic roles & 50–950 ramp

primary
#A42B7D
secondary
#6AC186
accent
#E27846
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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