#AF2E6E#AF2E6E

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

Color values

HEX#AF2E6E
RGBrgb(175, 46, 110)
HSLhsl(330, 58%, 43%)
HSVhsv(330, 74%, 69%)
CMYKcmyk(0%, 73.7%, 37.1%, 31.4%)
CIE-LABlab(41.53, 56.56, -6.30)
CIE-LCHlch(41.53, 56.91, 353.65°)
OKLaboklab(51.89% 0.1735 -0.0159)
OKLCHoklch(51.89% 0.174 354.8)
XYZxyz(21.4720, 12.1963, 15.9722)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E6E #2EAF6F
analogous
#AF2EAE #AF2E6E #AF2F2E
triadic
#AF2E6E #6EAF2E #2E6EAF
tetradic
#AF2E6E #AEAF2E #2EAF6F #2F2EAF
square
#AF2E6E #AEAF2E #2EAF6F #2F2EAF
split-complementary
#AF2E6E #2EAF2F #2EAEAF
monochromatic
#4E1531 #7F2150 #AF2E6E #D04B8D #DC7BAB

Accessibility & contrast

On white

6.11
#AF2E6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E6E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E6E#FFFFFF#000000##FFFFFF
##AF2E6E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2e6e;
/* rgb */ color: rgb(175, 46, 110);
/* oklch */ color: oklch(51.9% 0.174 354.8);
Tailwind
colors: {
  custom: {
    50: '#cc7297',
    500: '#af2e6e',
    950: '#000000',
  },
}
SCSS
$custom: #af2e6e;
$custom-light: #cc7297;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e6e",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 330.233,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.17423,
    "h": 354.8
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#AF2E6E
secondary
#74C59D
accent
#E29546
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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