#AF2F50#AF2F50

#AF2F50 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.164 H 10.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF2F50
RGBrgb(175, 47, 80)
HSLhsl(345, 58%, 44%)
HSVhsv(345, 73%, 69%)
CMYKcmyk(0%, 73.1%, 54.3%, 31.4%)
CIE-LABlab(40.78, 53.36, 11.46)
CIE-LCHlch(40.78, 54.58, 12.12°)
OKLaboklab(51.05% 0.1619 0.0291)
OKLCHoklch(51.05% 0.164 10.2)
XYZxyz(20.1455, 11.7290, 8.7910)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F50 #2FAF8E
analogous
#AF2F90 #AF2F50 #AF4E2F
triadic
#AF2F50 #50AF2F #2F50AF
tetradic
#AF2F50 #90AF2F #2FAF8E #4E2FAF
square
#AF2F50 #90AF2F #2FAF8E #4E2FAF
split-complementary
#AF2F50 #2FAF4E #2F90AF
monochromatic
#4F1524 #7F223A #AF2F50 #CF4C6E #DC7C95

Accessibility & contrast

On white

6.28
#AF2F50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2F50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F50
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F50#FFFFFF#000000##FFFFFF
##AF2F501.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5051
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#BF0F3D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f50;
/* rgb */ color: rgb(175, 47, 80);
/* oklch */ color: oklch(51.1% 0.164 10.2);
Tailwind
colors: {
  custom: {
    50: '#cd7280',
    500: '#af2f50',
    950: '#000000',
  },
}
SCSS
$custom: #af2f50;
$custom-light: #cd7280;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f50",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 344.531,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.16445,
    "h": 10.2
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#AF2F50
secondary
#75C4B0
accent
#E1B947
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2F50

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

Preview Lab → · Contrast checker → · Palette generator →

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