#AF1C41#AF1C41

#AF1C41 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.180 H 13.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AF1C41
RGBrgb(175, 28, 65)
HSLhsl(345, 72%, 40%)
HSVhsv(345, 84%, 69%)
CMYKcmyk(0%, 84%, 62.9%, 31.4%)
CIE-LABlab(38.43, 58.01, 17.77)
CIE-LCHlch(38.43, 60.68, 17.03°)
OKLaboklab(49.21% 0.1743 0.0432)
OKLCHoklch(49.21% 0.18 13.9)
XYZxyz(19.0506, 10.3291, 5.9906)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1C41 #1CAF8A
analogous
#AF1C8B #AF1C41 #AF411C
triadic
#AF1C41 #41AF1C #1C41AF
tetradic
#AF1C41 #8BAF1C #1CAF8A #411CAF
square
#AF1C41 #8BAF1C #1CAF8A #411CAF
split-complementary
#AF1C41 #1CAF41 #1C8BAF
monochromatic
#450B1A #7A142D #AF1C41 #DD2B58 #E66082

Accessibility & contrast

On white

6.85
#AF1C41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AF1C41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1C41
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1C41#FFFFFF#000000##FFFFFF
##AF1C411.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494741
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#C0002D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #af1c41;
/* rgb */ color: rgb(175, 28, 65);
/* oklch */ color: oklch(49.2% 0.180 13.9);
Tailwind
colors: {
  custom: {
    50: '#cf6a75',
    500: '#af1c41',
    950: '#000000',
  },
}
SCSS
$custom: #af1c41;
$custom-light: #cf6a75;
$custom-dark: #000000;
JSON
{
  "hex": "#af1c41",
  "rgb": {
    "r": 175,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 344.898,
    "s": 72.414,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49206,
    "c": 0.1796,
    "h": 13.9
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#AF1C41
secondary
#5DCAAE
accent
#EFC139
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150708
muted
#837A7B

Preview Lab

Preview with #AF1C41

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

Preview Lab → · Contrast checker → · Palette generator →

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