#AF2E57#AF2E57

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

Color values

HEX#AF2E57
RGBrgb(175, 46, 87)
HSLhsl(341, 58%, 43%)
HSVhsv(341, 74%, 69%)
CMYKcmyk(0%, 73.7%, 50.3%, 31.4%)
CIE-LABlab(40.83, 54.30, 7.12)
CIE-LCHlch(40.83, 54.76, 7.47°)
OKLaboklab(51.15% 0.1657 0.0186)
OKLCHoklch(51.15% 0.167 6.4)
XYZxyz(20.3782, 11.7588, 10.2116)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E57 #2EAF86
analogous
#AF2E97 #AF2E57 #AF452E
triadic
#AF2E57 #57AF2E #2E57AF
tetradic
#AF2E57 #97AF2E #2EAF86 #452EAF
square
#AF2E57 #97AF2E #2EAF86 #452EAF
split-complementary
#AF2E57 #2EAF45 #2E97AF
monochromatic
#4E1527 #7F213F #AF2E57 #D04B75 #DC7B9A

Accessibility & contrast

On white

6.27
#AF2E57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E57
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E57#FFFFFF#000000##FFFFFF
##AF2E571.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5058
Deuteranopia (green-blind)
#6F6A54
Tritanopia (blue-blind)
#BF123F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e57;
/* rgb */ color: rgb(175, 46, 87);
/* oklch */ color: oklch(51.1% 0.167 6.4);
Tailwind
colors: {
  custom: {
    50: '#cd7286',
    500: '#af2e57',
    950: '#000000',
  },
}
SCSS
$custom: #af2e57;
$custom-light: #cd7286;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e57",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 340.93,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.16672,
    "h": 6.4
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#AF2E57
secondary
#74C5AB
accent
#E2B046
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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