#A62F7B#A62F7B

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

Color values

HEX#A62F7B
RGBrgb(166, 47, 123)
HSLhsl(322, 56%, 42%)
HSVhsv(322, 72%, 65%)
CMYKcmyk(0%, 71.7%, 25.9%, 34.9%)
CIE-LABlab(40.53, 55.31, -16.04)
CIE-LCHlch(40.53, 57.59, 343.83°)
OKLaboklab(51.02% 0.1675 -0.0425)
OKLCHoklch(51.02% 0.173 345.8)
XYZxyz(20.3184, 11.5722, 19.8987)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F7B #2FA65A
analogous
#962FA6 #A62F7B #A62F3F
triadic
#A62F7B #7BA62F #2F7BA6
tetradic
#A62F7B #A6962F #2FA65A #2F3FA6
square
#A62F7B #A6962F #2FA65A #2F3FA6
split-complementary
#A62F7B #3FA62F #2FA696
monochromatic
#471434 #762158 #A62F7B #CB479B #D877B5

Accessibility & contrast

On white

6.34
#A62F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A62F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F7B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F7B#FFFFFF#000000##FFFFFF
##A62F7B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a62f7b;
/* rgb */ color: rgb(166, 47, 123);
/* oklch */ color: oklch(51.0% 0.173 345.8);
Tailwind
colors: {
  custom: {
    50: '#c472a1',
    500: '#a62f7b',
    950: '#000000',
  },
}
SCSS
$custom: #a62f7b;
$custom-light: #c472a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f7b",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 321.681,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.1728,
    "h": 345.8
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#A62F7B
secondary
#70C18D
accent
#DF7F49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A62F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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