#AF2159#AF2159

#AF2159 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.180 H 3.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AF2159
RGBrgb(175, 33, 89)
HSLhsl(336, 68%, 41%)
HSVhsv(336, 81%, 69%)
CMYKcmyk(0%, 81.1%, 49.1%, 31.4%)
CIE-LABlab(39.45, 58.50, 3.89)
CIE-LCHlch(39.45, 58.63, 3.80°)
OKLaboklab(50.15% 0.1794 0.0105)
OKLCHoklch(50.15% 0.18 3.4)
XYZxyz(20.0280, 10.9257, 10.5035)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2159 #21AF77
analogous
#AF21A0 #AF2159 #AF3021
triadic
#AF2159 #59AF21 #2159AF
tetradic
#AF2159 #A0AF21 #21AF77 #3021AF
square
#AF2159 #A0AF21 #21AF77 #3021AF
split-complementary
#AF2159 #21AF30 #21A0AF
monochromatic
#480E25 #7C173F #AF2159 #D93475 #E36898

Accessibility & contrast

On white

6.59
#AF2159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2159
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2159#FFFFFF#000000##FFFFFF
##AF21591.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B5A
Deuteranopia (green-blind)
#6B6756
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2159;
/* rgb */ color: rgb(175, 33, 89);
/* oklch */ color: oklch(50.2% 0.180 3.4);
Tailwind
colors: {
  custom: {
    50: '#cd6d87',
    500: '#af2159',
    950: '#000000',
  },
}
SCSS
$custom: #af2159;
$custom-light: #cd6d87;
$custom-dark: #000000;
JSON
{
  "hex": "#af2159",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 336.338,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.17971,
    "h": 3.4
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#AF2159
secondary
#64C8A1
accent
#EBA63D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2159

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

Preview Lab → · Contrast checker → · Palette generator →

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