#A62F7E#A62F7E

#A62F7E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.175 H 344.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A62F7E
RGBrgb(166, 47, 126)
HSLhsl(320, 56%, 42%)
HSVhsv(320, 72%, 65%)
CMYKcmyk(0%, 71.7%, 24.1%, 34.9%)
CIE-LABlab(40.65, 55.71, -17.70)
CIE-LCHlch(40.65, 58.45, 342.37°)
OKLaboklab(51.15% 0.1681 -0.0472)
OKLCHoklch(51.15% 0.175 344.3)
XYZxyz(20.5091, 11.6485, 20.9029)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F7E #2FA657
analogous
#932FA6 #A62F7E #A62F43
triadic
#A62F7E #7EA62F #2F7EA6
tetradic
#A62F7E #A6932F #2FA657 #2F43A6
square
#A62F7E #A6932F #2FA657 #2F43A6
split-complementary
#A62F7E #43A62F #2FA693
monochromatic
#471436 #76215A #A62F7E #CB479F #D877B8

Accessibility & contrast

On white

6.31
#A62F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A62F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F7E
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F7E#FFFFFF#000000##FFFFFF
##A62F7E1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#B12E52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62f7e;
/* rgb */ color: rgb(166, 47, 126);
/* oklch */ color: oklch(51.1% 0.175 344.3);
Tailwind
colors: {
  custom: {
    50: '#c472a3',
    500: '#a62f7e',
    950: '#000000',
  },
}
SCSS
$custom: #a62f7e;
$custom-light: #c472a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f7e",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 320.168,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.17461,
    "h": 344.3
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#A62F7E
secondary
#70C18B
accent
#DF7B49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A62F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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