#AF1F60#AF1F60

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

Color values

HEX#AF1F60
RGBrgb(175, 31, 96)
HSLhsl(333, 70%, 40%)
HSVhsv(333, 82%, 69%)
CMYKcmyk(0%, 82.3%, 45.1%, 31.4%)
CIE-LABlab(39.48, 59.64, -0.52)
CIE-LCHlch(39.48, 59.65, 359.50°)
OKLaboklab(50.24% 0.1835 -0.0007)
OKLCHoklch(50.24% 0.183 359.8)
XYZxyz(20.2822, 10.9412, 12.1079)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1F60 #1FAF6E
analogous
#AF1FA8 #AF1F60 #AF261F
triadic
#AF1F60 #60AF1F #1F60AF
tetradic
#AF1F60 #A8AF1F #1FAF6E #261FAF
square
#AF1F60 #A8AF1F #1FAF6E #261FAF
split-complementary
#AF1F60 #1FAF26 #1FA8AF
monochromatic
#470D27 #7B1643 #AF1F60 #DA317D #E4659E

Accessibility & contrast

On white

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

On black

3.19
#AF1F60 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF1F60#FFFFFF#000000##FFFFFF
##AF1F601.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C61
Deuteranopia (green-blind)
#69675D
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af1f60;
/* rgb */ color: rgb(175, 31, 96);
/* oklch */ color: oklch(50.2% 0.183 359.8);
Tailwind
colors: {
  custom: {
    50: '#cd6c8d',
    500: '#af1f60',
    950: '#000000',
  },
}
SCSS
$custom: #af1f60;
$custom-light: #cd6c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af1f60",
  "rgb": {
    "r": 175,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 332.917,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.18348,
    "h": 359.8
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#AF1F60
secondary
#61C99A
accent
#ED9D3B
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #AF1F60

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

Preview Lab → · Contrast checker → · Palette generator →

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