#A2255F#A2255F

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

Color values

HEX#A2255F
RGBrgb(162, 37, 95)
HSLhsl(332, 63%, 39%)
HSVhsv(332, 77%, 64%)
CMYKcmyk(0%, 77.2%, 41.4%, 36.5%)
CIE-LABlab(37.54, 54.36, -3.03)
CIE-LCHlch(37.54, 54.45, 356.81°)
OKLaboklab(48.36% 0.1671 -0.0073)
OKLCHoklch(48.36% 0.167 357.5)
XYZxyz(17.6287, 9.8330, 11.7939)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2255F #25A268
analogous
#A2259E #A2255F #A22A25
triadic
#A2255F #5FA225 #255FA2
tetradic
#A2255F #9EA225 #25A268 #2A25A2
square
#A2255F #9EA225 #25A268 #2A25A2
split-complementary
#A2255F #25A22A #259EA2
monochromatic
#3E0E25 #701A42 #A2255F #D1347C #DC659C

Accessibility & contrast

On white

7.08
#A2255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A2255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2255F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2255F#FFFFFF#000000##FFFFFF
##A2255F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#62615C
Tritanopia (blue-blind)
#B0113F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a2255f;
/* rgb */ color: rgb(162, 37, 95);
/* oklch */ color: oklch(48.4% 0.167 357.5);
Tailwind
colors: {
  custom: {
    50: '#c36c8c',
    500: '#a2255f',
    950: '#000000',
  },
}
SCSS
$custom: #a2255f;
$custom-light: #c36c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2255f",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 332.16,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.16722,
    "h": 357.5
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

primary
#A2255F
secondary
#61C295
accent
#E69A42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A2255F

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

Preview Lab → · Contrast checker → · Palette generator →

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