#A22F5E#A22F5E

#A22F5E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.155 H 359.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A22F5E
RGBrgb(162, 47, 94)
HSLhsl(335, 55%, 41%)
HSVhsv(335, 71%, 64%)
CMYKcmyk(0%, 71%, 42%, 36.5%)
CIE-LABlab(38.77, 50.73, -0.59)
CIE-LCHlch(38.77, 50.74, 359.34°)
OKLaboklab(49.25% 0.1555 -0.0009)
OKLCHoklch(49.25% 0.155 359.7)
XYZxyz(17.9385, 10.5248, 11.6743)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F5E #2FA273
analogous
#A22F97 #A22F5E #A2392F
triadic
#A22F5E #5EA22F #2F5EA2
tetradic
#A22F5E #97A22F #2FA273 #392FA2
square
#A22F5E #97A22F #2FA273 #392FA2
split-complementary
#A22F5E #2FA239 #2F97A2
monochromatic
#431327 #732142 #A22F5E #C9457B #D7759D

Accessibility & contrast

On white

6.76
#A22F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A22F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F5E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F5E#FFFFFF#000000##FFFFFF
##A22F5E1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#66635B
Tritanopia (blue-blind)
#B02043
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22f5e;
/* rgb */ color: rgb(162, 47, 94);
/* oklch */ color: oklch(49.2% 0.155 359.7);
Tailwind
colors: {
  custom: {
    50: '#c2718b',
    500: '#a22f5e',
    950: '#000000',
  },
}
SCSS
$custom: #a22f5e;
$custom-light: #c2718b;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f5e",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 335.478,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.15549,
    "h": 359.7
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#A22F5E
secondary
#6EBF9E
accent
#DEA149
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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