#AF2F54#AF2F54

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

Color values

HEX#AF2F54
RGBrgb(175, 47, 84)
HSLhsl(343, 58%, 44%)
HSVhsv(343, 73%, 69%)
CMYKcmyk(0%, 73.1%, 52%, 31.4%)
CIE-LABlab(40.88, 53.69, 9.08)
CIE-LCHlch(40.88, 54.45, 9.60°)
OKLaboklab(51.16% 0.1634 0.0234)
OKLCHoklch(51.16% 0.165 8.1)
XYZxyz(20.2977, 11.7899, 9.5926)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F54 #2FAF8A
analogous
#AF2F94 #AF2F54 #AF4A2F
triadic
#AF2F54 #54AF2F #2F54AF
tetradic
#AF2F54 #94AF2F #2FAF8A #4A2FAF
square
#AF2F54 #94AF2F #2FAF8A #4A2FAF
split-complementary
#AF2F54 #2FAF4A #2F94AF
monochromatic
#4F1526 #7F223D #AF2F54 #CF4C72 #DC7C98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2F54#FFFFFF#000000##FFFFFF
##AF2F541.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)
#4E5055
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#BF123E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f54;
/* rgb */ color: rgb(175, 47, 84);
/* oklch */ color: oklch(51.2% 0.165 8.1);
Tailwind
colors: {
  custom: {
    50: '#cd7283',
    500: '#af2f54',
    950: '#000000',
  },
}
SCSS
$custom: #af2f54;
$custom-light: #cd7283;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f54",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 342.656,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.16507,
    "h": 8.1
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#AF2F54
secondary
#75C4AE
accent
#E1B447
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF2F54

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

Preview Lab → · Contrast checker → · Palette generator →

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