#A02258#A02258

#A02258 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.166 H 0.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A02258
RGBrgb(160, 34, 88)
HSLhsl(334, 65%, 38%)
HSVhsv(334, 79%, 63%)
CMYKcmyk(0%, 78.8%, 45%, 37.3%)
CIE-LABlab(36.60, 54.05, 0.03)
CIE-LCHlch(36.60, 54.05, 0.03°)
OKLaboklab(47.52% 0.1661 0.0007)
OKLCHoklch(47.52% 0.166 0.2)
XYZxyz(16.8320, 9.3245, 10.1441)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02258 #22A06A
analogous
#A02297 #A02258 #A02B22
triadic
#A02258 #58A022 #2258A0
tetradic
#A02258 #97A022 #22A06A #2B22A0
square
#A02258 #97A022 #22A06A #2B22A0
split-complementary
#A02258 #22A02B #2297A0
monochromatic
#3B0D20 #6E173C #A02258 #D22D74 #DD5F95

Accessibility & contrast

On white

7.33
#A02258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A02258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02258
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02258#FFFFFF#000000##FFFFFF
##A022581.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4759
Deuteranopia (green-blind)
#615F55
Tritanopia (blue-blind)
#AE063A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a02258;
/* rgb */ color: rgb(160, 34, 88);
/* oklch */ color: oklch(47.5% 0.166 0.2);
Tailwind
colors: {
  custom: {
    50: '#c16a87',
    500: '#a02258',
    950: '#000000',
  },
}
SCSS
$custom: #a02258;
$custom-light: #c16a87;
$custom-dark: #000000;
JSON
{
  "hex": "#a02258",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 334.286,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47523,
    "c": 0.16605,
    "h": 0.2
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#A02258
secondary
#5CC296
accent
#E8A040
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A02258

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

Preview Lab → · Contrast checker → · Palette generator →

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