#A62852#A62852

#A62852 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.164 H 5.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A62852
RGBrgb(166, 40, 82)
HSLhsl(340, 61%, 40%)
HSVhsv(340, 76%, 65%)
CMYKcmyk(0%, 75.9%, 50.6%, 34.9%)
CIE-LABlab(38.26, 53.29, 6.41)
CIE-LCHlch(38.26, 53.67, 6.86°)
OKLaboklab(48.9% 0.1628 0.0168)
OKLCHoklch(48.9% 0.164 5.9)
XYZxyz(18.0092, 10.2362, 9.0085)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62852 #28A67C
analogous
#A62891 #A62852 #A63D28
triadic
#A62852 #52A628 #2852A6
tetradic
#A62852 #91A628 #28A67C #3D28A6
square
#A62852 #91A628 #28A67C #3D28A6
split-complementary
#A62852 #28A63D #2891A6
monochromatic
#431021 #751C3A #A62852 #D03B6D #DC6D92

Accessibility & contrast

On white

6.89
#A62852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A62852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62852
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62852#FFFFFF#000000##FFFFFF
##A628521.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#68634F
Tritanopia (blue-blind)
#B5083A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a62852;
/* rgb */ color: rgb(166, 40, 82);
/* oklch */ color: oklch(48.9% 0.164 5.9);
Tailwind
colors: {
  custom: {
    50: '#c66e82',
    500: '#a62852',
    950: '#000000',
  },
}
SCSS
$custom: #a62852;
$custom-light: #c66e82;
$custom-dark: #000000;
JSON
{
  "hex": "#a62852",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 340,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48899,
    "c": 0.16361,
    "h": 5.9
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#A62852
secondary
#67C2A4
accent
#E4AF44
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A62852

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

Preview Lab → · Contrast checker → · Palette generator →

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