#AF264F#AF264F

#AF264F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.173 H 8.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF264F
RGBrgb(175, 38, 79)
HSLhsl(342, 64%, 42%)
HSVhsv(342, 78%, 69%)
CMYKcmyk(0%, 78.3%, 54.9%, 31.4%)
CIE-LABlab(39.69, 56.27, 10.58)
CIE-LCHlch(39.69, 57.25, 10.65°)
OKLaboklab(50.24% 0.1711 0.0269)
OKLCHoklch(50.24% 0.173 8.9)
XYZxyz(19.7855, 11.0675, 8.4900)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF264F #26AF86
analogous
#AF2694 #AF264F #AF4226
triadic
#AF264F #4FAF26 #264FAF
tetradic
#AF264F #94AF26 #26AF86 #4226AF
square
#AF264F #94AF26 #26AF86 #4226AF
split-complementary
#AF264F #26AF42 #2694AF
monochromatic
#4A1022 #7D1B38 #AF264F #D53D6B #E07091

Accessibility & contrast

On white

6.54
#AF264F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF264F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF264F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF264F#FFFFFF#000000##FFFFFF
##AF264F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C50
Deuteranopia (green-blind)
#6E674C
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af264f;
/* rgb */ color: rgb(175, 38, 79);
/* oklch */ color: oklch(50.2% 0.173 8.9);
Tailwind
colors: {
  custom: {
    50: '#cd6e80',
    500: '#af264f',
    950: '#000000',
  },
}
SCSS
$custom: #af264f;
$custom-light: #cd6e80;
$custom-dark: #000000;
JSON
{
  "hex": "#af264f",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 342.044,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.17317,
    "h": 8.9
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#AF264F
secondary
#6AC7AB
accent
#E7B540
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF264F

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

Preview Lab → · Contrast checker → · Palette generator →

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