#AF2D57#AF2D57

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

Color values

HEX#AF2D57
RGBrgb(175, 45, 87)
HSLhsl(341, 59%, 43%)
HSVhsv(341, 74%, 69%)
CMYKcmyk(0%, 74.3%, 50.3%, 31.4%)
CIE-LABlab(40.71, 54.65, 6.94)
CIE-LCHlch(40.71, 55.09, 7.24°)
OKLaboklab(51.05% 0.1668 0.0181)
OKLCHoklch(51.05% 0.168 6.2)
XYZxyz(20.3396, 11.6816, 10.1987)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D57 #2DAF85
analogous
#AF2D98 #AF2D57 #AF442D
triadic
#AF2D57 #57AF2D #2D57AF
tetradic
#AF2D57 #98AF2D #2DAF85 #442DAF
square
#AF2D57 #98AF2D #2DAF85 #442DAF
split-complementary
#AF2D57 #2DAF44 #2D98AF
monochromatic
#4E1427 #7E203F #AF2D57 #D04975 #DD7A9A

Accessibility & contrast

On white

6.30
#AF2D57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2D57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D57
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D57#FFFFFF#000000##FFFFFF
##AF2D571.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#BF0F3F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d57;
/* rgb */ color: rgb(175, 45, 87);
/* oklch */ color: oklch(51.1% 0.168 6.2);
Tailwind
colors: {
  custom: {
    50: '#cd7186',
    500: '#af2d57',
    950: '#000000',
  },
}
SCSS
$custom: #af2d57;
$custom-light: #cd7186;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d57",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 340.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.16778,
    "h": 6.2
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#AF2D57
secondary
#73C5AA
accent
#E2B046
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2D57

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

Preview Lab → · Contrast checker → · Palette generator →

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