#A2284C#A2284C

#A2284C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.159 H 8.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A2284C
RGBrgb(162, 40, 76)
HSLhsl(342, 60%, 40%)
HSVhsv(342, 75%, 64%)
CMYKcmyk(0%, 75.3%, 53.1%, 36.5%)
CIE-LABlab(37.34, 51.60, 8.83)
CIE-LCHlch(37.34, 52.35, 9.72°)
OKLaboklab(48.03% 0.1571 0.0227)
OKLCHoklch(48.03% 0.159 8.2)
XYZxyz(16.9651, 9.7231, 7.8195)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2284C #28A27E
analogous
#A22889 #A2284C #A24128
triadic
#A2284C #4CA228 #284CA2
tetradic
#A2284C #89A228 #28A27E #4128A2
square
#A2284C #89A228 #28A27E #4128A2
split-complementary
#A2284C #28A241 #2889A2
monochromatic
#40101E #711C35 #A2284C #CE3965 #DA6A8B

Accessibility & contrast

On white

7.13
#A2284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A2284C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2284C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2284C#FFFFFF#000000##FFFFFF
##A2284C1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484D
Deuteranopia (green-blind)
#676149
Tritanopia (blue-blind)
#B10737
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a2284c;
/* rgb */ color: rgb(162, 40, 76);
/* oklch */ color: oklch(48.0% 0.159 8.2);
Tailwind
colors: {
  custom: {
    50: '#c36d7d',
    500: '#a2284c',
    950: '#000000',
  },
}
SCSS
$custom: #a2284c;
$custom-light: #c36d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2284c",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 342.295,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.15868,
    "h": 8.2
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#A2284C
secondary
#65C1A6
accent
#E4B544
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A2284C

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

Preview Lab → · Contrast checker → · Palette generator →

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