#AF1E5E#AF1E5E

#AF1E5E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.184 H 0.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AF1E5E
RGBrgb(175, 30, 94)
HSLhsl(334, 71%, 40%)
HSVhsv(334, 83%, 69%)
CMYKcmyk(0%, 82.9%, 46.3%, 31.4%)
CIE-LABlab(39.33, 59.71, 0.53)
CIE-LCHlch(39.33, 59.71, 0.51°)
OKLaboklab(50.11% 0.1836 0.002)
OKLCHoklch(50.11% 0.184 0.6)
XYZxyz(20.1655, 10.8534, 11.6206)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1E5E #1EAF6F
analogous
#AF1EA7 #AF1E5E #AF261E
triadic
#AF1E5E #5EAF1E #1E5EAF
tetradic
#AF1E5E #A7AF1E #1EAF6F #261EAF
square
#AF1E5E #A7AF1E #1EAF6F #261EAF
split-complementary
#AF1E5E #1EAF26 #1EA7AF
monochromatic
#470C26 #7B1542 #AF1E5E #DB2F7B #E4639C

Accessibility & contrast

On white

6.62
#AF1E5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF1E5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1E5E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1E5E#FFFFFF#000000##FFFFFF
##AF1E5E1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#6A665B
Tritanopia (blue-blind)
#BE003C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af1e5e;
/* rgb */ color: rgb(175, 30, 94);
/* oklch */ color: oklch(50.1% 0.184 0.6);
Tailwind
colors: {
  custom: {
    50: '#cd6c8b',
    500: '#af1e5e',
    950: '#000000',
  },
}
SCSS
$custom: #af1e5e;
$custom-light: #cd6c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#af1e5e",
  "rgb": {
    "r": 175,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 333.517,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50111,
    "c": 0.18363,
    "h": 0.6
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#AF1E5E
secondary
#60C99B
accent
#ED9E3A
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #AF1E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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