#AF2E6A#AF2E6A

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

Color values

HEX#AF2E6A
RGBrgb(175, 46, 106)
HSLhsl(332, 58%, 43%)
HSVhsv(332, 74%, 69%)
CMYKcmyk(0%, 73.7%, 39.4%, 31.4%)
CIE-LABlab(41.39, 56.13, -4.00)
CIE-LCHlch(41.39, 56.27, 355.93°)
OKLaboklab(51.75% 0.1723 -0.0098)
OKLCHoklch(51.75% 0.173 356.7)
XYZxyz(21.2592, 12.1112, 14.8511)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E6A #2EAF73
analogous
#AF2EAA #AF2E6A #AF322E
triadic
#AF2E6A #6AAF2E #2E6AAF
tetradic
#AF2E6A #AAAF2E #2EAF73 #322EAF
square
#AF2E6A #AAAF2E #2EAF73 #322EAF
split-complementary
#AF2E6A #2EAF32 #2EAAAF
monochromatic
#4E152F #7F214D #AF2E6A #D04B88 #DC7BA8

Accessibility & contrast

On white

6.14
#AF2E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E6A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E6A#FFFFFF#000000##FFFFFF
##AF2E6A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48526C
Deuteranopia (green-blind)
#6B6A67
Tritanopia (blue-blind)
#BD1E48
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2e6a;
/* rgb */ color: rgb(175, 46, 106);
/* oklch */ color: oklch(51.7% 0.173 356.7);
Tailwind
colors: {
  custom: {
    50: '#cc7294',
    500: '#af2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #af2e6a;
$custom-light: #cc7294;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e6a",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 332.093,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.17256,
    "h": 356.7
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#AF2E6A
secondary
#74C59F
accent
#E29946
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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