#A62751#A62751

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

Color values

HEX#A62751
RGBrgb(166, 39, 81)
HSLhsl(340, 62%, 40%)
HSVhsv(340, 77%, 65%)
CMYKcmyk(0%, 76.5%, 51.2%, 34.9%)
CIE-LABlab(38.12, 53.53, 6.84)
CIE-LCHlch(38.12, 53.97, 7.28°)
OKLaboklab(48.78% 0.1634 0.0178)
OKLCHoklch(48.78% 0.164 6.2)
XYZxyz(17.9382, 10.1546, 8.7984)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62751 #27A67C
analogous
#A62791 #A62751 #A63C27
triadic
#A62751 #51A627 #2751A6
tetradic
#A62751 #91A627 #27A67C #3C27A6
square
#A62751 #91A627 #27A67C #3C27A6
split-complementary
#A62751 #27A63C #2791A6
monochromatic
#431021 #741B39 #A62751 #D13A6C #DC6B91

Accessibility & contrast

On white

6.93
#A62751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A62751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62751
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62751#FFFFFF#000000##FFFFFF
##A627511.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#68634E
Tritanopia (blue-blind)
#B50439
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a62751;
/* rgb */ color: rgb(166, 39, 81);
/* oklch */ color: oklch(48.8% 0.164 6.2);
Tailwind
colors: {
  custom: {
    50: '#c66d81',
    500: '#a62751',
    950: '#000000',
  },
}
SCSS
$custom: #a62751;
$custom-light: #c66d81;
$custom-dark: #000000;
JSON
{
  "hex": "#a62751",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 340.157,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.16441,
    "h": 6.2
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#A62751
secondary
#66C3A4
accent
#E5AF43
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A62751

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

Preview Lab → · Contrast checker → · Palette generator →

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