#AF2E63#AF2E63

#AF2E63 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.170 H 0.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF2E63
RGBrgb(175, 46, 99)
HSLhsl(335, 58%, 43%)
HSVhsv(335, 74%, 69%)
CMYKcmyk(0%, 73.7%, 43.4%, 31.4%)
CIE-LABlab(41.17, 55.41, 0.06)
CIE-LCHlch(41.17, 55.41, 0.06°)
OKLaboklab(51.51% 0.17 0.0008)
OKLCHoklch(51.51% 0.17 0.3)
XYZxyz(20.9099, 11.9715, 13.0116)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E63 #2EAF7A
analogous
#AF2EA3 #AF2E63 #AF392E
triadic
#AF2E63 #63AF2E #2E63AF
tetradic
#AF2E63 #A3AF2E #2EAF7A #392EAF
square
#AF2E63 #A3AF2E #2EAF7A #392EAF
split-complementary
#AF2E63 #2EAF39 #2EA3AF
monochromatic
#4E152C #7F2148 #AF2E63 #D04B81 #DC7BA3

Accessibility & contrast

On white

6.19
#AF2E63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2E63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E63
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E63#FFFFFF#000000##FFFFFF
##AF2E631.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5164
Deuteranopia (green-blind)
#6D6A60
Tritanopia (blue-blind)
#BE1A45
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2e63;
/* rgb */ color: rgb(175, 46, 99);
/* oklch */ color: oklch(51.5% 0.170 0.3);
Tailwind
colors: {
  custom: {
    50: '#cc728f',
    500: '#af2e63',
    950: '#000000',
  },
}
SCSS
$custom: #af2e63;
$custom-light: #cc728f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e63",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 335.349,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.16999,
    "h": 0.3
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#AF2E63
secondary
#74C5A4
accent
#E2A246
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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