#A02148#A02148

#A02148 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.163 H 8.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A02148
RGBrgb(160, 33, 72)
HSLhsl(342, 66%, 38%)
HSVhsv(342, 79%, 63%)
CMYKcmyk(0%, 79.4%, 55%, 37.3%)
CIE-LABlab(36.04, 52.96, 9.54)
CIE-LCHlch(36.04, 53.81, 10.21°)
OKLaboklab(46.97% 0.1611 0.0243)
OKLCHoklch(46.97% 0.163 8.6)
XYZxyz(16.2123, 9.0315, 7.0192)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02148 #21A079
analogous
#A02187 #A02148 #A03A21
triadic
#A02148 #48A021 #2148A0
tetradic
#A02148 #87A021 #21A079 #3A21A0
square
#A02148 #87A021 #21A079 #3A21A0
split-complementary
#A02148 #21A03A #2187A0
monochromatic
#3B0C1A #6D1731 #A02148 #D32B5F #DE5E85

Accessibility & contrast

On white

7.48
#A02148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A02148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02148
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02148#FFFFFF#000000##FFFFFF
##A021481.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434449
Deuteranopia (green-blind)
#645E45
Tritanopia (blue-blind)
#AF0032
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02148;
/* rgb */ color: rgb(160, 33, 72);
/* oklch */ color: oklch(47.0% 0.163 8.6);
Tailwind
colors: {
  custom: {
    50: '#c26a7a',
    500: '#a02148',
    950: '#000000',
  },
}
SCSS
$custom: #a02148;
$custom-light: #c26a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a02148",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 341.575,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.16295,
    "h": 8.6
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#A02148
secondary
#5BC2A2
accent
#E9B53F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A02148

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

Preview Lab → · Contrast checker → · Palette generator →

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