#A2285E#A2285E

#A2285E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.164 H 358.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A2285E
RGBrgb(162, 40, 94)
HSLhsl(333, 60%, 40%)
HSVhsv(333, 75%, 64%)
CMYKcmyk(0%, 75.3%, 42%, 36.5%)
CIE-LABlab(37.86, 53.27, -1.92)
CIE-LCHlch(37.86, 53.31, 357.94°)
OKLaboklab(48.58% 0.1636 -0.0044)
OKLCHoklch(48.58% 0.164 358.5)
XYZxyz(17.6808, 10.0094, 11.5884)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2285E #28A26C
analogous
#A2289B #A2285E #A22F28
triadic
#A2285E #5EA228 #285EA2
tetradic
#A2285E #9BA228 #28A26C #2F28A2
square
#A2285E #9BA228 #28A26C #2F28A2
split-complementary
#A2285E #28A22F #289BA2
monochromatic
#401025 #711C42 #A2285E #CE397B #DA6A9C

Accessibility & contrast

On white

7.00
#A2285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A2285E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2285E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2285E#FFFFFF#000000##FFFFFF
##A2285E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5F
Deuteranopia (green-blind)
#63615B
Tritanopia (blue-blind)
#B0163F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a2285e;
/* rgb */ color: rgb(162, 40, 94);
/* oklch */ color: oklch(48.6% 0.164 358.5);
Tailwind
colors: {
  custom: {
    50: '#c26d8b',
    500: '#a2285e',
    950: '#000000',
  },
}
SCSS
$custom: #a2285e;
$custom-light: #c26d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2285e",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 333.443,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.16364,
    "h": 358.5
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#A2285E
secondary
#65C198
accent
#E49D44
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A2285E

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

Preview Lab → · Contrast checker → · Palette generator →

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