#AF2E53#AF2E53

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

Color values

HEX#AF2E53
RGBrgb(175, 46, 83)
HSLhsl(343, 58%, 43%)
HSVhsv(343, 74%, 69%)
CMYKcmyk(0%, 73.7%, 52.6%, 31.4%)
CIE-LABlab(40.73, 53.96, 9.49)
CIE-LCHlch(40.73, 54.79, 9.98°)
OKLaboklab(51.04% 0.1642 0.0244)
OKLCHoklch(51.04% 0.166 8.4)
XYZxyz(20.2193, 11.6953, 9.3746)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E53 #2EAF8A
analogous
#AF2E93 #AF2E53 #AF4A2E
triadic
#AF2E53 #53AF2E #2E53AF
tetradic
#AF2E53 #93AF2E #2EAF8A #4A2EAF
square
#AF2E53 #93AF2E #2EAF8A #4A2EAF
split-complementary
#AF2E53 #2EAF4A #2E93AF
monochromatic
#4E1525 #7F213C #AF2E53 #D04B71 #DC7B97

Accessibility & contrast

On white

6.29
#AF2E53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E53
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E53#FFFFFF#000000##FFFFFF
##AF2E531.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F54
Deuteranopia (green-blind)
#706950
Tritanopia (blue-blind)
#BF0F3D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e53;
/* rgb */ color: rgb(175, 46, 83);
/* oklch */ color: oklch(51.0% 0.166 8.4);
Tailwind
colors: {
  custom: {
    50: '#cd7183',
    500: '#af2e53',
    950: '#000000',
  },
}
SCSS
$custom: #af2e53;
$custom-light: #cd7183;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e53",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 342.791,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.16596,
    "h": 8.4
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#AF2E53
secondary
#74C5AE
accent
#E2B546
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2E53

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

Preview Lab → · Contrast checker → · Palette generator →

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