#AF2E56#AF2E56

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

Color values

HEX#AF2E56
RGBrgb(175, 46, 86)
HSLhsl(341, 58%, 43%)
HSVhsv(341, 74%, 69%)
CMYKcmyk(0%, 73.7%, 50.9%, 31.4%)
CIE-LABlab(40.80, 54.21, 7.71)
CIE-LCHlch(40.80, 54.76, 8.09°)
OKLaboklab(51.12% 0.1653 0.02)
OKLCHoklch(51.12% 0.167 6.9)
XYZxyz(20.3377, 11.7426, 9.9979)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E56 #2EAF87
analogous
#AF2E96 #AF2E56 #AF462E
triadic
#AF2E56 #56AF2E #2E56AF
tetradic
#AF2E56 #96AF2E #2EAF87 #462EAF
square
#AF2E56 #96AF2E #2EAF87 #462EAF
split-complementary
#AF2E56 #2EAF46 #2E96AF
monochromatic
#4E1526 #7F213E #AF2E56 #D04B74 #DC7B99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2E56#FFFFFF#000000##FFFFFF
##AF2E561.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)
#4D5057
Deuteranopia (green-blind)
#6F6A53
Tritanopia (blue-blind)
#BF113F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e56;
/* rgb */ color: rgb(175, 46, 86);
/* oklch */ color: oklch(51.1% 0.167 6.9);
Tailwind
colors: {
  custom: {
    50: '#cd7285',
    500: '#af2e56',
    950: '#000000',
  },
}
SCSS
$custom: #af2e56;
$custom-light: #cd7285;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e56",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 341.395,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.16652,
    "h": 6.9
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#AF2E56
secondary
#74C5AC
accent
#E2B146
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2E56

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

Preview Lab → · Contrast checker → · Palette generator →

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