#A2285C#A2285C

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

Color values

HEX#A2285C
RGBrgb(162, 40, 92)
HSLhsl(334, 60%, 40%)
HSVhsv(334, 75%, 64%)
CMYKcmyk(0%, 75.3%, 43.2%, 36.5%)
CIE-LABlab(37.80, 53.07, -0.74)
CIE-LCHlch(37.80, 53.07, 359.20°)
OKLaboklab(48.51% 0.1629 -0.0013)
OKLCHoklch(48.51% 0.163 359.5)
XYZxyz(17.5922, 9.9739, 11.1219)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2285C #28A26E
analogous
#A22899 #A2285C #A23128
triadic
#A2285C #5CA228 #285CA2
tetradic
#A2285C #99A228 #28A26E #3128A2
square
#A2285C #99A228 #28A26E #3128A2
split-complementary
#A2285C #28A231 #2899A2
monochromatic
#401024 #711C40 #A2285C #CE3979 #DA6A9A

Accessibility & contrast

On white

7.01
#A2285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A2285C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2285C#FFFFFF#000000##FFFFFF
##A2285C1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2285c;
/* rgb */ color: rgb(162, 40, 92);
/* oklch */ color: oklch(48.5% 0.163 359.5);
Tailwind
colors: {
  custom: {
    50: '#c36d8a',
    500: '#a2285c',
    950: '#000000',
  },
}
SCSS
$custom: #a2285c;
$custom-light: #c36d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2285c",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 334.426,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48511,
    "c": 0.16292,
    "h": 359.5
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2285C

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

Preview Lab → · Contrast checker → · Palette generator →

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