#A2255C#A2255C

#A2255C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.166 H 359.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A2255C
RGBrgb(162, 37, 92)
HSLhsl(334, 63%, 39%)
HSVhsv(334, 77%, 64%)
CMYKcmyk(0%, 77.2%, 43.2%, 36.5%)
CIE-LABlab(37.44, 54.06, -1.26)
CIE-LCHlch(37.44, 54.07, 358.67°)
OKLaboklab(48.25% 0.1661 -0.0026)
OKLCHoklch(48.25% 0.166 359.1)
XYZxyz(17.4950, 9.7795, 11.0895)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2255C #25A26B
analogous
#A2259B #A2255C #A22D25
triadic
#A2255C #5CA225 #255CA2
tetradic
#A2255C #9BA225 #25A26B #2D25A2
square
#A2255C #9BA225 #25A26B #2D25A2
split-complementary
#A2255C #25A22D #259BA2
monochromatic
#3E0E23 #701A40 #A2255C #D13479 #DC659A

Accessibility & contrast

On white

7.11
#A2255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A2255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2255C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2255C#FFFFFF#000000##FFFFFF
##A2255C1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495D
Deuteranopia (green-blind)
#636159
Tritanopia (blue-blind)
#B00F3D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a2255c;
/* rgb */ color: rgb(162, 37, 92);
/* oklch */ color: oklch(48.3% 0.166 359.1);
Tailwind
colors: {
  custom: {
    50: '#c36c8a',
    500: '#a2255c',
    950: '#000000',
  },
}
SCSS
$custom: #a2255c;
$custom-light: #c36c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2255c",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 333.6,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.1661,
    "h": 359.1
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#A2255C
secondary
#61C297
accent
#E69E42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A2255C

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

Preview Lab → · Contrast checker → · Palette generator →

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