#A2285A#A2285A

#A2285A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.162 H 0.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A2285A
RGBrgb(162, 40, 90)
HSLhsl(335, 60%, 40%)
HSVhsv(335, 75%, 64%)
CMYKcmyk(0%, 75.3%, 44.4%, 36.5%)
CIE-LABlab(37.73, 52.87, 0.44)
CIE-LCHlch(37.73, 52.87, 0.48°)
OKLaboklab(48.45% 0.1622 0.0017)
OKLCHoklch(48.45% 0.162 0.6)
XYZxyz(17.5059, 9.9394, 10.6675)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2285A #28A270
analogous
#A22897 #A2285A #A23328
triadic
#A2285A #5AA228 #285AA2
tetradic
#A2285A #97A228 #28A270 #3328A2
square
#A2285A #97A228 #28A270 #3328A2
split-complementary
#A2285A #28A233 #2897A2
monochromatic
#401023 #711C3F #A2285A #CE3976 #DA6A98

Accessibility & contrast

On white

7.03
#A2285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A2285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2285A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2285A#FFFFFF#000000##FFFFFF
##A2285A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5B
Deuteranopia (green-blind)
#646157
Tritanopia (blue-blind)
#B0133E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a2285a;
/* rgb */ color: rgb(162, 40, 90);
/* oklch */ color: oklch(48.4% 0.162 0.6);
Tailwind
colors: {
  custom: {
    50: '#c36d88',
    500: '#a2285a',
    950: '#000000',
  },
}
SCSS
$custom: #a2285a;
$custom-light: #c36d88;
$custom-dark: #000000;
JSON
{
  "hex": "#a2285a",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 335.41,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.16224,
    "h": 0.6
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#A2285A
secondary
#65C19B
accent
#E4A244
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A2285A

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

Preview Lab → · Contrast checker → · Palette generator →

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