#A02B7C#A02B7C

#A02B7C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.174 H 342.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A02B7C
RGBrgb(160, 43, 124)
HSLhsl(318, 58%, 40%)
HSVhsv(318, 73%, 63%)
CMYKcmyk(0%, 73.1%, 22.5%, 37.3%)
CIE-LABlab(39.00, 55.29, -19.09)
CIE-LCHlch(39.00, 58.49, 340.95°)
OKLaboklab(49.72% 0.1663 -0.0511)
OKLCHoklch(49.72% 0.174 342.9)
XYZxyz(18.9998, 10.6585, 20.1216)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02B7C #2BA04F
analogous
#8A2BA0 #A02B7C #A02B41
triadic
#A02B7C #7CA02B #2B7CA0
tetradic
#A02B7C #A08A2B #2BA04F #2B41A0
square
#A02B7C #A08A2B #2BA04F #2B41A0
split-complementary
#A02B7C #41A02B #2BA08A
monochromatic
#401131 #701E57 #A02B7C #CB3D9F #D86EB7

Accessibility & contrast

On white

6.71
#A02B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A02B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02B7C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02B7C#FFFFFF#000000##FFFFFF
##A02B7C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#AA2C50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02b7c;
/* rgb */ color: rgb(160, 43, 124);
/* oklch */ color: oklch(49.7% 0.174 342.9);
Tailwind
colors: {
  custom: {
    50: '#c06fa2',
    500: '#a02b7c',
    950: '#000000',
  },
}
SCSS
$custom: #a02b7c;
$custom-light: #c06fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02b7c",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 318.462,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49715,
    "c": 0.174,
    "h": 342.9
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#A02B7C
secondary
#68BF83
accent
#E17647
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A02B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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