#AF1E5A#AF1E5A

#AF1E5A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.182 H 2.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AF1E5A
RGBrgb(175, 30, 90)
HSLhsl(335, 71%, 40%)
HSVhsv(335, 83%, 69%)
CMYKcmyk(0%, 82.9%, 48.6%, 31.4%)
CIE-LABlab(39.21, 59.36, 2.90)
CIE-LCHlch(39.21, 59.43, 2.80°)
OKLaboklab(49.99% 0.1823 0.0081)
OKLCHoklch(49.99% 0.182 2.5)
XYZxyz(19.9907, 10.7835, 10.6996)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1E5A #1EAF73
analogous
#AF1EA3 #AF1E5A #AF2A1E
triadic
#AF1E5A #5AAF1E #1E5AAF
tetradic
#AF1E5A #A3AF1E #1EAF73 #2A1EAF
square
#AF1E5A #A3AF1E #1EAF73 #2A1EAF
split-complementary
#AF1E5A #1EAF2A #1EA3AF
monochromatic
#470C24 #7B153F #AF1E5A #DB2F76 #E46399

Accessibility & contrast

On white

6.65
#AF1E5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF1E5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1E5A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1E5A#FFFFFF#000000##FFFFFF
##AF1E5A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af1e5a;
/* rgb */ color: rgb(175, 30, 90);
/* oklch */ color: oklch(50.0% 0.182 2.5);
Tailwind
colors: {
  custom: {
    50: '#cd6c88',
    500: '#af1e5a',
    950: '#000000',
  },
}
SCSS
$custom: #af1e5a;
$custom-light: #cd6c88;
$custom-dark: #000000;
JSON
{
  "hex": "#af1e5a",
  "rgb": {
    "r": 175,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 335.172,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.18243,
    "h": 2.5
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#AF1E5A
secondary
#60C99D
accent
#EDA33A
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #AF1E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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