#AF1F44#AF1F44

#AF1F44 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.178 H 13.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AF1F44
RGBrgb(175, 31, 68)
HSLhsl(345, 70%, 40%)
HSVhsv(345, 82%, 69%)
CMYKcmyk(0%, 82.3%, 61.1%, 31.4%)
CIE-LABlab(38.75, 57.46, 16.29)
CIE-LCHlch(38.75, 59.72, 15.83°)
OKLaboklab(49.47% 0.1731 0.04)
OKLCHoklch(49.47% 0.178 13)
XYZxyz(19.2146, 10.5142, 6.4854)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1F44 #1FAF8A
analogous
#AF1F8C #AF1F44 #AF421F
triadic
#AF1F44 #44AF1F #1F44AF
tetradic
#AF1F44 #8CAF1F #1FAF8A #421FAF
square
#AF1F44 #8CAF1F #1FAF8A #421FAF
split-complementary
#AF1F44 #1FAF42 #1F8CAF
monochromatic
#470D1C #7B1630 #AF1F44 #DA315C #E46585

Accessibility & contrast

On white

6.77
#AF1F44 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AF1F44 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1F44
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1F44#FFFFFF#000000##FFFFFF
##AF1F441.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4844
Deuteranopia (green-blind)
#6E6640
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af1f44;
/* rgb */ color: rgb(175, 31, 68);
/* oklch */ color: oklch(49.5% 0.178 13.0);
Tailwind
colors: {
  custom: {
    50: '#ce6b77',
    500: '#af1f44',
    950: '#000000',
  },
}
SCSS
$custom: #af1f44;
$custom-light: #ce6b77;
$custom-dark: #000000;
JSON
{
  "hex": "#af1f44",
  "rgb": {
    "r": 175,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 344.583,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.17766,
    "h": 13
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#AF1F44
secondary
#61C9AE
accent
#EDBF3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF1F44

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

Preview Lab → · Contrast checker → · Palette generator →

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