#AF1E5F#AF1E5F

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

Color values

HEX#AF1E5F
RGBrgb(175, 30, 95)
HSLhsl(333, 71%, 40%)
HSVhsv(333, 83%, 69%)
CMYKcmyk(0%, 82.9%, 45.7%, 31.4%)
CIE-LABlab(39.36, 59.80, -0.06)
CIE-LCHlch(39.36, 59.80, 359.95°)
OKLaboklab(50.14% 0.184 0.0005)
OKLCHoklch(50.14% 0.184 0.2)
XYZxyz(20.2107, 10.8715, 11.8584)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1E5F #1EAF6E
analogous
#AF1EA8 #AF1E5F #AF251E
triadic
#AF1E5F #5FAF1E #1E5FAF
tetradic
#AF1E5F #A8AF1E #1EAF6E #251EAF
square
#AF1E5F #A8AF1E #1EAF6E #251EAF
split-complementary
#AF1E5F #1EAF25 #1EA8AF
monochromatic
#470C26 #7B1543 #AF1E5F #DB2F7C #E4639D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF1E5F#FFFFFF#000000##FFFFFF
##AF1E5F1.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)
#434B60
Deuteranopia (green-blind)
#69665C
Tritanopia (blue-blind)
#BE003C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af1e5f;
/* rgb */ color: rgb(175, 30, 95);
/* oklch */ color: oklch(50.1% 0.184 0.2);
Tailwind
colors: {
  custom: {
    50: '#cd6c8c',
    500: '#af1e5f',
    950: '#000000',
  },
}
SCSS
$custom: #af1e5f;
$custom-light: #cd6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#af1e5f",
  "rgb": {
    "r": 175,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 333.103,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.18395,
    "h": 0.2
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#AF1E5F
secondary
#60C99A
accent
#ED9D3A
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #AF1E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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