#A42148#A42148

#A42148 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.167 H 9.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A42148
RGBrgb(164, 33, 72)
HSLhsl(342, 66%, 39%)
HSVhsv(342, 80%, 64%)
CMYKcmyk(0%, 79.9%, 56.1%, 35.7%)
CIE-LABlab(36.84, 54.10, 10.76)
CIE-LCHlch(36.84, 55.16, 11.25°)
OKLaboklab(47.69% 0.1643 0.0272)
OKLCHoklch(47.69% 0.167 9.4)
XYZxyz(17.0250, 9.4506, 7.0573)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42148 #21A47D
analogous
#A42189 #A42148 #A43B21
triadic
#A42148 #48A421 #2148A4
tetradic
#A42148 #89A421 #21A47D #3B21A4
square
#A42148 #89A421 #21A47D #3B21A4
split-complementary
#A42148 #21A43B #2189A4
monochromatic
#3E0C1B #711732 #A42148 #D52D5F #DF6086

Accessibility & contrast

On white

7.27
#A42148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A42148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42148
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42148#FFFFFF#000000##FFFFFF
##A421481.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454649
Deuteranopia (green-blind)
#676045
Tritanopia (blue-blind)
#B30032
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42148;
/* rgb */ color: rgb(164, 33, 72);
/* oklch */ color: oklch(47.7% 0.167 9.4);
Tailwind
colors: {
  custom: {
    50: '#c56a7a',
    500: '#a42148',
    950: '#000000',
  },
}
SCSS
$custom: #a42148;
$custom-light: #c56a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42148",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 342.137,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.16658,
    "h": 9.4
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#A42148
secondary
#5DC4A5
accent
#E9B63E
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A42148

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

Preview Lab → · Contrast checker → · Palette generator →

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