#A22F5F#A22F5F

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

Color values

HEX#A22F5F
RGBrgb(162, 47, 95)
HSLhsl(335, 55%, 41%)
HSVhsv(335, 71%, 64%)
CMYKcmyk(0%, 71%, 41.4%, 36.5%)
CIE-LABlab(38.80, 50.84, -1.17)
CIE-LCHlch(38.80, 50.85, 358.68°)
OKLaboklab(49.28% 0.1558 -0.0024)
OKLCHoklch(49.28% 0.156 359.1)
XYZxyz(17.9836, 10.5428, 11.9122)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F5F #2FA272
analogous
#A22F98 #A22F5F #A2392F
triadic
#A22F5F #5FA22F #2F5FA2
tetradic
#A22F5F #98A22F #2FA272 #392FA2
square
#A22F5F #98A22F #2FA272 #392FA2
split-complementary
#A22F5F #2FA239 #2F98A2
monochromatic
#431327 #732143 #A22F5F #C9457C #D7759E

Accessibility & contrast

On white

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

On black

3.11
#A22F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A22F5F#FFFFFF#000000##FFFFFF
##A22F5F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#AF2143
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22f5f;
/* rgb */ color: rgb(162, 47, 95);
/* oklch */ color: oklch(49.3% 0.156 359.1);
Tailwind
colors: {
  custom: {
    50: '#c2718c',
    500: '#a22f5f',
    950: '#000000',
  },
}
SCSS
$custom: #a22f5f;
$custom-light: #c2718c;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f5f",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 334.957,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.15585,
    "h": 359.1
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#A22F5F
secondary
#6EBF9D
accent
#DEA049
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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