#AF215E#AF215E

#AF215E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.181 H 1.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF215E
RGBrgb(175, 33, 94)
HSLhsl(334, 68%, 41%)
HSVhsv(334, 81%, 69%)
CMYKcmyk(0%, 81.1%, 46.3%, 31.4%)
CIE-LABlab(39.60, 58.94, 0.93)
CIE-LCHlch(39.60, 58.95, 0.90°)
OKLaboklab(50.31% 0.1811 0.003)
OKLCHoklch(50.31% 0.181 1)
XYZxyz(20.2451, 11.0126, 11.6471)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF215E #21AF72
analogous
#AF21A5 #AF215E #AF2B21
triadic
#AF215E #5EAF21 #215EAF
tetradic
#AF215E #A5AF21 #21AF72 #2B21AF
square
#AF215E #A5AF21 #21AF72 #2B21AF
split-complementary
#AF215E #21AF2B #21A5AF
monochromatic
#480E27 #7C1742 #AF215E #D9347B #E3689D

Accessibility & contrast

On white

6.56
#AF215E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF215E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF215E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF215E#FFFFFF#000000##FFFFFF
##AF215E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#6A675B
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af215e;
/* rgb */ color: rgb(175, 33, 94);
/* oklch */ color: oklch(50.3% 0.181 1.0);
Tailwind
colors: {
  custom: {
    50: '#cd6d8b',
    500: '#af215e',
    950: '#000000',
  },
}
SCSS
$custom: #af215e;
$custom-light: #cd6d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#af215e",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 334.225,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.18117,
    "h": 1
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#AF215E
secondary
#64C89D
accent
#EBA03D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #AF215E

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

Preview Lab → · Contrast checker → · Palette generator →

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