#A62152#A62152

#A62152 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.170 H 4.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A62152
RGBrgb(166, 33, 82)
HSLhsl(338, 67%, 39%)
HSVhsv(338, 80%, 65%)
CMYKcmyk(0%, 80.1%, 50.6%, 34.9%)
CIE-LABlab(37.49, 55.46, 5.31)
CIE-LCHlch(37.49, 55.72, 5.47°)
OKLaboklab(48.33% 0.1698 0.0141)
OKLCHoklch(48.33% 0.17 4.7)
XYZxyz(17.7943, 9.8064, 8.9368)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62152 #21A675
analogous
#A62195 #A62152 #A63321
triadic
#A62152 #52A621 #2152A6
tetradic
#A62152 #95A621 #21A675 #3321A6
square
#A62152 #95A621 #21A675 #3321A6
split-complementary
#A62152 #21A633 #2195A6
monochromatic
#400D20 #731739 #A62152 #D62F6C #E06290

Accessibility & contrast

On white

7.09
#A62152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A62152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A62152
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62152#FFFFFF#000000##FFFFFF
##A621521.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434853
Deuteranopia (green-blind)
#66624F
Tritanopia (blue-blind)
#B50037
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a62152;
/* rgb */ color: rgb(166, 33, 82);
/* oklch */ color: oklch(48.3% 0.170 4.7);
Tailwind
colors: {
  custom: {
    50: '#c66b82',
    500: '#a62152',
    950: '#000000',
  },
}
SCSS
$custom: #a62152;
$custom-light: #c66b82;
$custom-dark: #000000;
JSON
{
  "hex": "#a62152",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 337.895,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48331,
    "c": 0.17034,
    "h": 4.7
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#A62152
secondary
#5EC59F
accent
#EAAA3E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A62152

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

Preview Lab → · Contrast checker → · Palette generator →

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