#AF2E68#AF2E68

#AF2E68 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.172 H 357.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF2E68
RGBrgb(175, 46, 104)
HSLhsl(333, 58%, 43%)
HSVhsv(333, 74%, 69%)
CMYKcmyk(0%, 73.7%, 40.6%, 31.4%)
CIE-LABlab(41.33, 55.92, -2.84)
CIE-LCHlch(41.33, 55.99, 357.09°)
OKLaboklab(51.68% 0.1717 -0.0068)
OKLCHoklch(51.68% 0.172 357.7)
XYZxyz(21.1564, 12.0701, 14.3097)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E68 #2EAF75
analogous
#AF2EA8 #AF2E68 #AF342E
triadic
#AF2E68 #68AF2E #2E68AF
tetradic
#AF2E68 #A8AF2E #2EAF75 #342EAF
square
#AF2E68 #A8AF2E #2EAF75 #342EAF
split-complementary
#AF2E68 #2EAF34 #2EA8AF
monochromatic
#4E152E #7F214B #AF2E68 #D04B86 #DC7BA7

Accessibility & contrast

On white

6.15
#AF2E68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2E68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E68
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E68#FFFFFF#000000##FFFFFF
##AF2E681.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485269
Deuteranopia (green-blind)
#6C6A65
Tritanopia (blue-blind)
#BD1D47
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2e68;
/* rgb */ color: rgb(175, 46, 104);
/* oklch */ color: oklch(51.7% 0.172 357.7);
Tailwind
colors: {
  custom: {
    50: '#cc7293',
    500: '#af2e68',
    950: '#000000',
  },
}
SCSS
$custom: #af2e68;
$custom-light: #cc7293;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e68",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 333.023,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.17178,
    "h": 357.7
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#AF2E68
secondary
#74C5A0
accent
#E29C46
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2E68

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

Preview Lab → · Contrast checker → · Palette generator →

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