#A42258#A42258

#A42258 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.169 H 1.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A42258
RGBrgb(164, 34, 88)
HSLhsl(335, 66%, 39%)
HSVhsv(335, 79%, 64%)
CMYKcmyk(0%, 79.3%, 46.3%, 35.7%)
CIE-LABlab(37.38, 55.15, 1.25)
CIE-LCHlch(37.38, 55.17, 1.30°)
OKLaboklab(48.23% 0.1694 0.0038)
OKLCHoklch(48.23% 0.169 1.3)
XYZxyz(17.6448, 9.7435, 10.1822)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42258 #22A46E
analogous
#A42299 #A42258 #A42D22
triadic
#A42258 #58A422 #2258A4
tetradic
#A42258 #99A422 #22A46E #2D22A4
square
#A42258 #99A422 #22A46E #2D22A4
split-complementary
#A42258 #22A42D #2299A4
monochromatic
#3F0D22 #71173D #A42258 #D42F74 #DE6296

Accessibility & contrast

On white

7.12
#A42258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A42258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42258
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42258#FFFFFF#000000##FFFFFF
##A422581.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#B2013A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42258;
/* rgb */ color: rgb(164, 34, 88);
/* oklch */ color: oklch(48.2% 0.169 1.3);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a42258',
    950: '#000000',
  },
}
SCSS
$custom: #a42258;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a42258",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 335.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48234,
    "c": 0.16939,
    "h": 1.3
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#A42258
secondary
#5EC499
accent
#E9A23F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A42258

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

Preview Lab → · Contrast checker → · Palette generator →

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