#A2285F#A2285F

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

Color values

HEX#A2285F
RGBrgb(162, 40, 95)
HSLhsl(333, 60%, 40%)
HSVhsv(333, 75%, 64%)
CMYKcmyk(0%, 75.3%, 41.4%, 36.5%)
CIE-LABlab(37.89, 53.38, -2.51)
CIE-LCHlch(37.89, 53.43, 357.31°)
OKLaboklab(48.61% 0.1639 -0.0059)
OKLCHoklch(48.61% 0.164 357.9)
XYZxyz(17.7259, 10.0274, 11.8263)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2285F #28A26B
analogous
#A2289C #A2285F #A22E28
triadic
#A2285F #5FA228 #285FA2
tetradic
#A2285F #9CA228 #28A26B #2E28A2
square
#A2285F #9CA228 #28A26B #2E28A2
split-complementary
#A2285F #28A22E #289CA2
monochromatic
#401025 #711C42 #A2285F #CE397C #DA6A9D

Accessibility & contrast

On white

6.99
#A2285F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A2285F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2285F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2285F#FFFFFF#000000##FFFFFF
##A2285F1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A60
Deuteranopia (green-blind)
#63625C
Tritanopia (blue-blind)
#B01740
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a2285f;
/* rgb */ color: rgb(162, 40, 95);
/* oklch */ color: oklch(48.6% 0.164 357.9);
Tailwind
colors: {
  custom: {
    50: '#c26d8c',
    500: '#a2285f',
    950: '#000000',
  },
}
SCSS
$custom: #a2285f;
$custom-light: #c26d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2285f",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 332.951,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48613,
    "c": 0.16402,
    "h": 357.9
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#A2285F
secondary
#65C197
accent
#E49C44
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A2285F

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

Preview Lab → · Contrast checker → · Palette generator →

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