#AF2F55#AF2F55

#AF2F55 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.165 H 7.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF2F55
RGBrgb(175, 47, 85)
HSLhsl(342, 58%, 44%)
HSVhsv(342, 73%, 69%)
CMYKcmyk(0%, 73.1%, 51.4%, 31.4%)
CIE-LABlab(40.91, 53.77, 8.48)
CIE-LCHlch(40.91, 54.44, 8.96°)
OKLaboklab(51.19% 0.1638 0.0219)
OKLCHoklch(51.19% 0.165 7.6)
XYZxyz(20.3372, 11.8056, 9.8004)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F55 #2FAF89
analogous
#AF2F95 #AF2F55 #AF492F
triadic
#AF2F55 #55AF2F #2F55AF
tetradic
#AF2F55 #95AF2F #2FAF89 #492FAF
square
#AF2F55 #95AF2F #2FAF89 #492FAF
split-complementary
#AF2F55 #2FAF49 #2F95AF
monochromatic
#4F1526 #7F223E #AF2F55 #CF4C73 #DC7C99

Accessibility & contrast

On white

6.25
#AF2F55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF2F55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F55
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F55#FFFFFF#000000##FFFFFF
##AF2F551.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5056
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#BF123F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f55;
/* rgb */ color: rgb(175, 47, 85);
/* oklch */ color: oklch(51.2% 0.165 7.6);
Tailwind
colors: {
  custom: {
    50: '#cd7284',
    500: '#af2f55',
    950: '#000000',
  },
}
SCSS
$custom: #af2f55;
$custom-light: #cd7284;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f55",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 342.188,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.16525,
    "h": 7.6
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#AF2F55
secondary
#75C4AD
accent
#E1B347
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF2F55

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

Preview Lab → · Contrast checker → · Palette generator →

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