#A62F7C#A62F7C

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

Color values

HEX#A62F7C
RGBrgb(166, 47, 124)
HSLhsl(321, 56%, 42%)
HSVhsv(321, 72%, 65%)
CMYKcmyk(0%, 71.7%, 25.3%, 34.9%)
CIE-LABlab(40.57, 55.44, -16.59)
CIE-LCHlch(40.57, 57.87, 343.34°)
OKLaboklab(51.06% 0.1677 -0.0441)
OKLCHoklch(51.06% 0.173 345.3)
XYZxyz(20.3813, 11.5974, 20.2300)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F7C #2FA659
analogous
#952FA6 #A62F7C #A62F41
triadic
#A62F7C #7CA62F #2F7CA6
tetradic
#A62F7C #A6952F #2FA659 #2F41A6
square
#A62F7C #A6952F #2FA659 #2F41A6
split-complementary
#A62F7C #41A62F #2FA695
monochromatic
#471435 #762158 #A62F7C #CB479C #D877B6

Accessibility & contrast

On white

6.33
#A62F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A62F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F7C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F7C#FFFFFF#000000##FFFFFF
##A62F7C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#616779
Tritanopia (blue-blind)
#B12D51
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62f7c;
/* rgb */ color: rgb(166, 47, 124);
/* oklch */ color: oklch(51.1% 0.173 345.3);
Tailwind
colors: {
  custom: {
    50: '#c472a2',
    500: '#a62f7c',
    950: '#000000',
  },
}
SCSS
$custom: #a62f7c;
$custom-light: #c472a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f7c",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 321.176,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.1734,
    "h": 345.3
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#A62F7C
secondary
#70C18D
accent
#DF7E49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A62F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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