#AF2F53#AF2F53

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

Color values

HEX#AF2F53
RGBrgb(175, 47, 83)
HSLhsl(343, 58%, 44%)
HSVhsv(343, 73%, 69%)
CMYKcmyk(0%, 73.1%, 52.6%, 31.4%)
CIE-LABlab(40.86, 53.61, 9.67)
CIE-LCHlch(40.86, 54.47, 10.23°)
OKLaboklab(51.13% 0.163 0.0248)
OKLCHoklch(51.13% 0.165 8.7)
XYZxyz(20.2589, 11.7743, 9.3878)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F53 #2FAF8B
analogous
#AF2F93 #AF2F53 #AF4B2F
triadic
#AF2F53 #53AF2F #2F53AF
tetradic
#AF2F53 #93AF2F #2FAF8B #4B2FAF
square
#AF2F53 #93AF2F #2FAF8B #4B2FAF
split-complementary
#AF2F53 #2FAF4B #2F93AF
monochromatic
#4F1525 #7F223C #AF2F53 #CF4C71 #DC7C97

Accessibility & contrast

On white

6.26
#AF2F53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F53
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F53#FFFFFF#000000##FFFFFF
##AF2F531.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5054
Deuteranopia (green-blind)
#706A50
Tritanopia (blue-blind)
#BF113E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f53;
/* rgb */ color: rgb(175, 47, 83);
/* oklch */ color: oklch(51.1% 0.165 8.7);
Tailwind
colors: {
  custom: {
    50: '#cd7283',
    500: '#af2f53',
    950: '#000000',
  },
}
SCSS
$custom: #af2f53;
$custom-light: #cd7283;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f53",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 343.125,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.1649,
    "h": 8.7
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#AF2F53
secondary
#75C4AE
accent
#E1B647
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF2F53

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

Preview Lab → · Contrast checker → · Palette generator →

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