#AF2E5C#AF2E5C

#AF2E5C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.168 H 3.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF2E5C
RGBrgb(175, 46, 92)
HSLhsl(339, 58%, 43%)
HSVhsv(339, 74%, 69%)
CMYKcmyk(0%, 73.7%, 47.4%, 31.4%)
CIE-LABlab(40.97, 54.75, 4.16)
CIE-LCHlch(40.97, 54.90, 4.35°)
OKLaboklab(51.29% 0.1675 0.0112)
OKLCHoklch(51.29% 0.168 3.8)
XYZxyz(20.5896, 11.8434, 11.3249)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E5C #2EAF81
analogous
#AF2E9C #AF2E5C #AF412E
triadic
#AF2E5C #5CAF2E #2E5CAF
tetradic
#AF2E5C #9CAF2E #2EAF81 #412EAF
square
#AF2E5C #9CAF2E #2EAF81 #412EAF
split-complementary
#AF2E5C #2EAF41 #2E9CAF
monochromatic
#4E1529 #7F2143 #AF2E5C #D04B7A #DC7B9E

Accessibility & contrast

On white

6.23
#AF2E5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2E5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E5C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E5C#FFFFFF#000000##FFFFFF
##AF2E5C1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505D
Deuteranopia (green-blind)
#6E6A59
Tritanopia (blue-blind)
#BE1541
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2e5c;
/* rgb */ color: rgb(175, 46, 92);
/* oklch */ color: oklch(51.3% 0.168 3.8);
Tailwind
colors: {
  custom: {
    50: '#cc7289',
    500: '#af2e5c',
    950: '#000000',
  },
}
SCSS
$custom: #af2e5c;
$custom-light: #cc7289;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e5c",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 338.605,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.16791,
    "h": 3.8
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#AF2E5C
secondary
#74C5A8
accent
#E2AA46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF2E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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