#A2285B#A2285B

#A2285B is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 0.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A2285B
RGBrgb(162, 40, 91)
HSLhsl(335, 60%, 40%)
HSVhsv(335, 75%, 64%)
CMYKcmyk(0%, 75.3%, 43.8%, 36.5%)
CIE-LABlab(37.76, 52.97, -0.15)
CIE-LCHlch(37.76, 52.97, 359.84°)
OKLaboklab(48.48% 0.1626 0.0002)
OKLCHoklch(48.48% 0.163 0.1)
XYZxyz(17.5487, 9.9566, 10.8932)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2285B #28A26F
analogous
#A22898 #A2285B #A23228
triadic
#A2285B #5BA228 #285BA2
tetradic
#A2285B #98A228 #28A26F #3228A2
square
#A2285B #98A228 #28A26F #3228A2
split-complementary
#A2285B #28A232 #2898A2
monochromatic
#401024 #711C3F #A2285B #CE3977 #DA6A99

Accessibility & contrast

On white

7.02
#A2285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A2285B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2285B#FFFFFF#000000##FFFFFF
##A2285B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5C
Deuteranopia (green-blind)
#646158
Tritanopia (blue-blind)
#B0143E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a2285b;
/* rgb */ color: rgb(162, 40, 91);
/* oklch */ color: oklch(48.5% 0.163 0.1);
Tailwind
colors: {
  custom: {
    50: '#c36d89',
    500: '#a2285b',
    950: '#000000',
  },
}
SCSS
$custom: #a2285b;
$custom-light: #c36d89;
$custom-dark: #000000;
JSON
{
  "hex": "#a2285b",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 334.918,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.16257,
    "h": 0.1
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#A2285B
secondary
#65C19A
accent
#E4A144
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A2285B

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

Preview Lab → · Contrast checker → · Palette generator →

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