#AF267A#AF267A

#AF267A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.189 H 348.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF267A
RGBrgb(175, 38, 122)
HSLhsl(323, 64%, 42%)
HSVhsv(323, 78%, 69%)
CMYKcmyk(0%, 78.3%, 30.3%, 31.4%)
CIE-LABlab(41.07, 60.48, -14.44)
CIE-LCHlch(41.07, 62.18, 346.57°)
OKLaboklab(51.7% 0.1847 -0.038)
OKLCHoklch(51.7% 0.189 348.4)
XYZxyz(21.8863, 11.9079, 19.5545)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF267A #26AF5B
analogous
#A026AF #AF267A #AF2635
triadic
#AF267A #7AAF26 #267AAF
tetradic
#AF267A #AFA026 #26AF5B #2635AF
square
#AF267A #AFA026 #26AF5B #2635AF
split-complementary
#AF267A #35AF26 #26AFA0
monochromatic
#4A1034 #7D1B57 #AF267A #D53D9A #E070B4

Accessibility & contrast

On white

6.21
#AF267A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF267A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF267A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF267A#FFFFFF#000000##FFFFFF
##AF267A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527C
Deuteranopia (green-blind)
#656977
Tritanopia (blue-blind)
#BC1E4D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af267a;
/* rgb */ color: rgb(175, 38, 122);
/* oklch */ color: oklch(51.7% 0.189 348.4);
Tailwind
colors: {
  custom: {
    50: '#cb6fa0',
    500: '#af267a',
    950: '#000000',
  },
}
SCSS
$custom: #af267a;
$custom-light: #cb6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#af267a",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 323.212,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.18854,
    "h": 348.4
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#AF267A
secondary
#6AC78E
accent
#E78140
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF267A

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

Preview Lab → · Contrast checker → · Palette generator →

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