#AF2E55#AF2E55

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

Color values

HEX#AF2E55
RGBrgb(175, 46, 85)
HSLhsl(342, 58%, 43%)
HSVhsv(342, 74%, 69%)
CMYKcmyk(0%, 73.7%, 51.4%, 31.4%)
CIE-LABlab(40.78, 54.13, 8.30)
CIE-LCHlch(40.78, 54.76, 8.72°)
OKLaboklab(51.09% 0.1649 0.0215)
OKLCHoklch(51.09% 0.166 7.4)
XYZxyz(20.2977, 11.7266, 9.7872)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E55 #2EAF88
analogous
#AF2E95 #AF2E55 #AF472E
triadic
#AF2E55 #55AF2E #2E55AF
tetradic
#AF2E55 #95AF2E #2EAF88 #472EAF
square
#AF2E55 #95AF2E #2EAF88 #472EAF
split-complementary
#AF2E55 #2EAF47 #2E95AF
monochromatic
#4E1526 #7F213D #AF2E55 #D04B73 #DC7B98

Accessibility & contrast

On white

6.28
#AF2E55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E55
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E55#FFFFFF#000000##FFFFFF
##AF2E551.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5056
Deuteranopia (green-blind)
#6F6A52
Tritanopia (blue-blind)
#BF103E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e55;
/* rgb */ color: rgb(175, 46, 85);
/* oklch */ color: oklch(51.1% 0.166 7.4);
Tailwind
colors: {
  custom: {
    50: '#cd7284',
    500: '#af2e55',
    950: '#000000',
  },
}
SCSS
$custom: #af2e55;
$custom-light: #cd7284;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e55",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 341.86,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.16632,
    "h": 7.4
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#AF2E55
secondary
#74C5AC
accent
#E2B346
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2E55

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

Preview Lab → · Contrast checker → · Palette generator →

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