#A62158#A62158

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

Color values

HEX#A62158
RGBrgb(166, 33, 88)
HSLhsl(335, 67%, 39%)
HSVhsv(335, 80%, 65%)
CMYKcmyk(0%, 80.1%, 47%, 34.9%)
CIE-LABlab(37.67, 55.99, 1.72)
CIE-LCHlch(37.67, 56.02, 1.76°)
OKLaboklab(48.52% 0.1719 0.005)
OKLCHoklch(48.52% 0.172 1.7)
XYZxyz(18.0327, 9.9017, 10.1923)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62158 #21A66F
analogous
#A6219B #A62158 #A62D21
triadic
#A62158 #58A621 #2158A6
tetradic
#A62158 #9BA621 #21A66F #2D21A6
square
#A62158 #9BA621 #21A66F #2D21A6
split-complementary
#A62158 #21A62D #219BA6
monochromatic
#400D22 #73173D #A62158 #D62F74 #E06296

Accessibility & contrast

On white

7.05
#A62158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A62158
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62158#FFFFFF#000000##FFFFFF
##A621581.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424859
Deuteranopia (green-blind)
#656255
Tritanopia (blue-blind)
#B5003A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a62158;
/* rgb */ color: rgb(166, 33, 88);
/* oklch */ color: oklch(48.5% 0.172 1.7);
Tailwind
colors: {
  custom: {
    50: '#c66b86',
    500: '#a62158',
    950: '#000000',
  },
}
SCSS
$custom: #a62158;
$custom-light: #c66b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a62158",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 335.188,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.17198,
    "h": 1.7
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#A62158
secondary
#5EC59A
accent
#EAA33E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A62158

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

Preview Lab → · Contrast checker → · Palette generator →

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