#AF2E67#AF2E67

#AF2E67 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.171 H 358.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF2E67
RGBrgb(175, 46, 103)
HSLhsl(333, 58%, 43%)
HSVhsv(333, 74%, 69%)
CMYKcmyk(0%, 73.7%, 41.1%, 31.4%)
CIE-LABlab(41.30, 55.82, -2.27)
CIE-LCHlch(41.30, 55.86, 357.68°)
OKLaboklab(51.64% 0.1713 -0.0052)
OKLCHoklch(51.64% 0.171 358.2)
XYZxyz(21.1059, 12.0499, 14.0438)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E67 #2EAF76
analogous
#AF2EA7 #AF2E67 #AF352E
triadic
#AF2E67 #67AF2E #2E67AF
tetradic
#AF2E67 #A7AF2E #2EAF76 #352EAF
square
#AF2E67 #A7AF2E #2EAF76 #352EAF
split-complementary
#AF2E67 #2EAF35 #2EA7AF
monochromatic
#4E152E #7F214A #AF2E67 #D04B85 #DC7BA6

Accessibility & contrast

On white

6.16
#AF2E67 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E67
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E67#FFFFFF#000000##FFFFFF
##AF2E671.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495268
Deuteranopia (green-blind)
#6C6A64
Tritanopia (blue-blind)
#BD1C47
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2e67;
/* rgb */ color: rgb(175, 46, 103);
/* oklch */ color: oklch(51.6% 0.171 358.2);
Tailwind
colors: {
  custom: {
    50: '#cc7292',
    500: '#af2e67',
    950: '#000000',
  },
}
SCSS
$custom: #af2e67;
$custom-light: #cc7292;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e67",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 333.488,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.1714,
    "h": 358.2
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#AF2E67
secondary
#74C5A1
accent
#E29D46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090D
muted
#837B7D

Preview Lab

Preview with #AF2E67

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

Preview Lab → · Contrast checker → · Palette generator →

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