#AF2E5B#AF2E5B

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

Color values

HEX#AF2E5B
RGBrgb(175, 46, 91)
HSLhsl(339, 58%, 43%)
HSVhsv(339, 74%, 69%)
CMYKcmyk(0%, 73.7%, 48%, 31.4%)
CIE-LABlab(40.94, 54.65, 4.75)
CIE-LCHlch(40.94, 54.86, 4.97°)
OKLaboklab(51.26% 0.1672 0.0127)
OKLCHoklch(51.26% 0.168 4.3)
XYZxyz(20.5462, 11.8260, 11.0962)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E5B #2EAF82
analogous
#AF2E9B #AF2E5B #AF422E
triadic
#AF2E5B #5BAF2E #2E5BAF
tetradic
#AF2E5B #9BAF2E #2EAF82 #422EAF
square
#AF2E5B #9BAF2E #2EAF82 #422EAF
split-complementary
#AF2E5B #2EAF42 #2E9BAF
monochromatic
#4E1529 #7F2142 #AF2E5B #D04B79 #DC7B9D

Accessibility & contrast

On white

6.24
#AF2E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E5B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E5B#FFFFFF#000000##FFFFFF
##AF2E5B1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505C
Deuteranopia (green-blind)
#6E6A58
Tritanopia (blue-blind)
#BE1541
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e5b;
/* rgb */ color: rgb(175, 46, 91);
/* oklch */ color: oklch(51.3% 0.168 4.3);
Tailwind
colors: {
  custom: {
    50: '#cc7289',
    500: '#af2e5b',
    950: '#000000',
  },
}
SCSS
$custom: #af2e5b;
$custom-light: #cc7289;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e5b",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 339.07,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.16765,
    "h": 4.3
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#AF2E5B
secondary
#74C5A9
accent
#E2AB46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF2E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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