#A62151#A62151

#A62151 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.170 H 5.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A62151
RGBrgb(166, 33, 81)
HSLhsl(338, 67%, 39%)
HSVhsv(338, 80%, 65%)
CMYKcmyk(0%, 80.1%, 51.2%, 34.9%)
CIE-LABlab(37.47, 55.38, 5.91)
CIE-LCHlch(37.47, 55.69, 6.10°)
OKLaboklab(48.3% 0.1694 0.0155)
OKLCHoklch(48.3% 0.17 5.2)
XYZxyz(17.7565, 9.7913, 8.7379)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62151 #21A676
analogous
#A62194 #A62151 #A63421
triadic
#A62151 #51A621 #2151A6
tetradic
#A62151 #94A621 #21A676 #3421A6
square
#A62151 #94A621 #21A676 #3421A6
split-complementary
#A62151 #21A634 #2194A6
monochromatic
#400D1F #731738 #A62151 #D62F6B #E0628F

Accessibility & contrast

On white

7.10
#A62151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A62151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A62151
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62151#FFFFFF#000000##FFFFFF
##A621511.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444752
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#B50036
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a62151;
/* rgb */ color: rgb(166, 33, 81);
/* oklch */ color: oklch(48.3% 0.170 5.2);
Tailwind
colors: {
  custom: {
    50: '#c66b81',
    500: '#a62151',
    950: '#000000',
  },
}
SCSS
$custom: #a62151;
$custom-light: #c66b81;
$custom-dark: #000000;
JSON
{
  "hex": "#a62151",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 338.346,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48302,
    "c": 0.1701,
    "h": 5.2
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#A62151
secondary
#5EC5A0
accent
#EAAC3E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A62151

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

Preview Lab → · Contrast checker → · Palette generator →

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