#AF2E5E#AF2E5E

#AF2E5E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.168 H 2.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF2E5E
RGBrgb(175, 46, 94)
HSLhsl(338, 58%, 43%)
HSVhsv(338, 74%, 69%)
CMYKcmyk(0%, 73.7%, 46.3%, 31.4%)
CIE-LABlab(41.02, 54.93, 2.98)
CIE-LCHlch(41.02, 55.01, 3.11°)
OKLaboklab(51.35% 0.1683 0.0083)
OKLCHoklch(51.35% 0.168 2.8)
XYZxyz(20.6782, 11.8788, 11.7915)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E5E #2EAF7F
analogous
#AF2E9E #AF2E5E #AF3E2E
triadic
#AF2E5E #5EAF2E #2E5EAF
tetradic
#AF2E5E #9EAF2E #2EAF7F #3E2EAF
square
#AF2E5E #9EAF2E #2EAF7F #3E2EAF
split-complementary
#AF2E5E #2EAF3E #2E9EAF
monochromatic
#4E152A #7F2144 #AF2E5E #D04B7C #DC7B9F

Accessibility & contrast

On white

6.22
#AF2E5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2E5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E5E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E5E#FFFFFF#000000##FFFFFF
##AF2E5E1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B515F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#BE1742
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2e5e;
/* rgb */ color: rgb(175, 46, 94);
/* oklch */ color: oklch(51.4% 0.168 2.8);
Tailwind
colors: {
  custom: {
    50: '#cc728b',
    500: '#af2e5e',
    950: '#000000',
  },
}
SCSS
$custom: #af2e5e;
$custom-light: #cc728b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e5e",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 337.674,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.16845,
    "h": 2.8
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#AF2E5E
secondary
#74C5A7
accent
#E2A846
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF2E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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