#A2255E#A2255E

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

Color values

HEX#A2255E
RGBrgb(162, 37, 94)
HSLhsl(333, 63%, 39%)
HSVhsv(333, 77%, 64%)
CMYKcmyk(0%, 77.2%, 42%, 36.5%)
CIE-LABlab(37.51, 54.26, -2.44)
CIE-LCHlch(37.51, 54.32, 357.43°)
OKLaboklab(48.32% 0.1667 -0.0057)
OKLCHoklch(48.32% 0.167 358)
XYZxyz(17.5835, 9.8149, 11.5560)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2255E #25A269
analogous
#A2259D #A2255E #A22B25
triadic
#A2255E #5EA225 #255EA2
tetradic
#A2255E #9DA225 #25A269 #2B25A2
square
#A2255E #9DA225 #25A269 #2B25A2
split-complementary
#A2255E #25A22B #259DA2
monochromatic
#3E0E24 #701A41 #A2255E #D1347B #DC659B

Accessibility & contrast

On white

7.09
#A2255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A2255E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2255E#FFFFFF#000000##FFFFFF
##A2255E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495F
Deuteranopia (green-blind)
#62615B
Tritanopia (blue-blind)
#B0113E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a2255e;
/* rgb */ color: rgb(162, 37, 94);
/* oklch */ color: oklch(48.3% 0.167 358.0);
Tailwind
colors: {
  custom: {
    50: '#c36c8b',
    500: '#a2255e',
    950: '#000000',
  },
}
SCSS
$custom: #a2255e;
$custom-light: #c36c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2255e",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 332.64,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.16684,
    "h": 358
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#A2255E
secondary
#61C296
accent
#E69B42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A2255E

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

Preview Lab → · Contrast checker → · Palette generator →

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