#AF2E59#AF2E59

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

Color values

HEX#AF2E59
RGBrgb(175, 46, 89)
HSLhsl(340, 58%, 43%)
HSVhsv(340, 74%, 69%)
CMYKcmyk(0%, 73.7%, 49.1%, 31.4%)
CIE-LABlab(40.88, 54.48, 5.93)
CIE-LCHlch(40.88, 54.80, 6.21°)
OKLaboklab(51.2% 0.1664 0.0157)
OKLCHoklch(51.2% 0.167 5.4)
XYZxyz(20.4611, 11.7920, 10.6479)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E59 #2EAF84
analogous
#AF2E99 #AF2E59 #AF432E
triadic
#AF2E59 #59AF2E #2E59AF
tetradic
#AF2E59 #99AF2E #2EAF84 #432EAF
square
#AF2E59 #99AF2E #2EAF84 #432EAF
split-complementary
#AF2E59 #2EAF43 #2E99AF
monochromatic
#4E1528 #7F2140 #AF2E59 #D04B77 #DC7B9B

Accessibility & contrast

On white

6.25
#AF2E59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF2E59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E59
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E59#FFFFFF#000000##FFFFFF
##AF2E591.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D505A
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#BF1340
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e59;
/* rgb */ color: rgb(175, 46, 89);
/* oklch */ color: oklch(51.2% 0.167 5.4);
Tailwind
colors: {
  custom: {
    50: '#cd7287',
    500: '#af2e59',
    950: '#000000',
  },
}
SCSS
$custom: #af2e59;
$custom-light: #cd7287;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e59",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 340,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.16716,
    "h": 5.4
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#AF2E59
secondary
#74C5AA
accent
#E2AE46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF2E59

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

Preview Lab → · Contrast checker → · Palette generator →

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