#AF267F#AF267F

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

Color values

HEX#AF267F
RGBrgb(175, 38, 127)
HSLhsl(321, 64%, 42%)
HSVhsv(321, 78%, 69%)
CMYKcmyk(0%, 78.3%, 27.4%, 31.4%)
CIE-LABlab(41.27, 61.08, -17.23)
CIE-LCHlch(41.27, 63.46, 344.25°)
OKLaboklab(51.91% 0.1857 -0.0457)
OKLCHoklch(51.91% 0.191 346.2)
XYZxyz(22.2041, 12.0350, 21.2282)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF267F #26AF56
analogous
#9B26AF #AF267F #AF263B
triadic
#AF267F #7FAF26 #267FAF
tetradic
#AF267F #AF9B26 #26AF56 #263BAF
square
#AF267F #AF9B26 #26AF56 #263BAF
split-complementary
#AF267F #3BAF26 #26AF9B
monochromatic
#4A1036 #7D1B5B #AF267F #D53DA0 #E070B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF267F#FFFFFF#000000##FFFFFF
##AF267F1.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)
#3A5281
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#BB2250
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af267f;
/* rgb */ color: rgb(175, 38, 127);
/* oklch */ color: oklch(51.9% 0.191 346.2);
Tailwind
colors: {
  custom: {
    50: '#cb70a4',
    500: '#af267f',
    950: '#000000',
  },
}
SCSS
$custom: #af267f;
$custom-light: #cb70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af267f",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 321.022,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51912,
    "c": 0.19127,
    "h": 346.2
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#AF267F
secondary
#6AC78B
accent
#E77B40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF267F

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

Preview Lab → · Contrast checker → · Palette generator →

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