#A02B7F#A02B7F

#A02B7F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.176 H 341.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A02B7F
RGBrgb(160, 43, 127)
HSLhsl(317, 58%, 40%)
HSVhsv(317, 73%, 63%)
CMYKcmyk(0%, 73.1%, 20.6%, 37.3%)
CIE-LABlab(39.13, 55.70, -20.75)
CIE-LCHlch(39.13, 59.44, 339.57°)
OKLaboklab(49.86% 0.1669 -0.0558)
OKLCHoklch(49.86% 0.176 341.5)
XYZxyz(19.1924, 10.7356, 21.1360)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02B7F #2BA04C
analogous
#862BA0 #A02B7F #A02B45
triadic
#A02B7F #7FA02B #2B7FA0
tetradic
#A02B7F #A0862B #2BA04C #2B45A0
square
#A02B7F #A0862B #2BA04C #2B45A0
split-complementary
#A02B7F #45A02B #2BA086
monochromatic
#401132 #701E59 #A02B7F #CB3DA3 #D86EBA

Accessibility & contrast

On white

6.67
#A02B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A02B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02B7F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02B7F#FFFFFF#000000##FFFFFF
##A02B7F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02b7f;
/* rgb */ color: rgb(160, 43, 127);
/* oklch */ color: oklch(49.9% 0.176 341.5);
Tailwind
colors: {
  custom: {
    50: '#c06fa4',
    500: '#a02b7f',
    950: '#000000',
  },
}
SCSS
$custom: #a02b7f;
$custom-light: #c06fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02b7f",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 316.923,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.17592,
    "h": 341.5
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#A02B7F
secondary
#68BF80
accent
#E17247
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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