#A62157#A62157

#A62157 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.172 H 2.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A62157
RGBrgb(166, 33, 87)
HSLhsl(336, 67%, 39%)
HSVhsv(336, 80%, 65%)
CMYKcmyk(0%, 80.1%, 47.6%, 34.9%)
CIE-LABlab(37.64, 55.90, 2.31)
CIE-LCHlch(37.64, 55.95, 2.37°)
OKLaboklab(48.48% 0.1716 0.0065)
OKLCHoklch(48.48% 0.172 2.2)
XYZxyz(17.9916, 9.8853, 9.9756)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62157 #21A670
analogous
#A6219A #A62157 #A62E21
triadic
#A62157 #57A621 #2157A6
tetradic
#A62157 #9AA621 #21A670 #2E21A6
square
#A62157 #9AA621 #21A670 #2E21A6
split-complementary
#A62157 #21A62E #219AA6
monochromatic
#400D21 #73173C #A62157 #D62F72 #E06295

Accessibility & contrast

On white

7.06
#A62157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A62157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A62157
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62157#FFFFFF#000000##FFFFFF
##A621571.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424858
Deuteranopia (green-blind)
#656254
Tritanopia (blue-blind)
#B50039
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a62157;
/* rgb */ color: rgb(166, 33, 87);
/* oklch */ color: oklch(48.5% 0.172 2.2);
Tailwind
colors: {
  custom: {
    50: '#c66b86',
    500: '#a62157',
    950: '#000000',
  },
}
SCSS
$custom: #a62157;
$custom-light: #c66b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a62157",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 335.639,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.17168,
    "h": 2.2
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#A62157
secondary
#5EC59B
accent
#EAA43E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A62157

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

Preview Lab → · Contrast checker → · Palette generator →

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