#A02B7E#A02B7E

#A02B7E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.175 H 342.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A02B7E
RGBrgb(160, 43, 126)
HSLhsl(317, 58%, 40%)
HSVhsv(317, 73%, 63%)
CMYKcmyk(0%, 73.1%, 21.2%, 37.3%)
CIE-LABlab(39.09, 55.56, -20.20)
CIE-LCHlch(39.09, 59.12, 340.02°)
OKLaboklab(49.81% 0.1667 -0.0542)
OKLCHoklch(49.81% 0.175 342)
XYZxyz(19.1276, 10.7096, 20.7944)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02B7E #2BA04D
analogous
#882BA0 #A02B7E #A02B44
triadic
#A02B7E #7EA02B #2B7EA0
tetradic
#A02B7E #A0882B #2BA04D #2B44A0
square
#A02B7E #A0882B #2BA04D #2B44A0
split-complementary
#A02B7E #44A02B #2BA088
monochromatic
#401132 #701E58 #A02B7E #CB3DA2 #D86EB9

Accessibility & contrast

On white

6.68
#A02B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A02B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02B7E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02B7E#FFFFFF#000000##FFFFFF
##A02B7E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AA2D51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02b7e;
/* rgb */ color: rgb(160, 43, 126);
/* oklch */ color: oklch(49.8% 0.175 342.0);
Tailwind
colors: {
  custom: {
    50: '#c06fa3',
    500: '#a02b7e',
    950: '#000000',
  },
}
SCSS
$custom: #a02b7e;
$custom-light: #c06fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02b7e",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 317.436,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.17528,
    "h": 342
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#A02B7E
secondary
#68BF81
accent
#E17447
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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