#AF2E6F#AF2E6F

#AF2E6F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.175 H 354.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF2E6F
RGBrgb(175, 46, 111)
HSLhsl(330, 58%, 43%)
HSVhsv(330, 74%, 69%)
CMYKcmyk(0%, 73.7%, 36.6%, 31.4%)
CIE-LABlab(41.56, 56.67, -6.87)
CIE-LCHlch(41.56, 57.09, 353.09°)
OKLaboklab(51.92% 0.1738 -0.0174)
OKLCHoklch(51.92% 0.175 354.3)
XYZxyz(21.5268, 12.2182, 16.2606)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E6F #2EAF6E
analogous
#AE2EAF #AF2E6F #AF2E2F
triadic
#AF2E6F #6FAF2E #2E6FAF
tetradic
#AF2E6F #AFAE2E #2EAF6E #2E2FAF
square
#AF2E6F #AFAE2E #2EAF6E #2E2FAF
split-complementary
#AF2E6F #2FAF2E #2EAFAE
monochromatic
#4E1532 #7F2150 #AF2E6F #D04B8E #DC7BAC

Accessibility & contrast

On white

6.10
#AF2E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E6F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E6F#FFFFFF#000000##FFFFFF
##AF2E6F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465371
Deuteranopia (green-blind)
#6A6B6C
Tritanopia (blue-blind)
#BD214A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2e6f;
/* rgb */ color: rgb(175, 46, 111);
/* oklch */ color: oklch(51.9% 0.175 354.3);
Tailwind
colors: {
  custom: {
    50: '#cc7298',
    500: '#af2e6f',
    950: '#000000',
  },
}
SCSS
$custom: #af2e6f;
$custom-light: #cc7298;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e6f",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 329.767,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.17467,
    "h": 354.3
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#AF2E6F
secondary
#74C59C
accent
#E29346
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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