#AF267C#AF267C

#AF267C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.190 H 347.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF267C
RGBrgb(175, 38, 124)
HSLhsl(322, 64%, 42%)
HSVhsv(322, 78%, 69%)
CMYKcmyk(0%, 78.3%, 29.1%, 31.4%)
CIE-LABlab(41.15, 60.72, -15.56)
CIE-LCHlch(41.15, 62.68, 345.63°)
OKLaboklab(51.78% 0.1851 -0.0411)
OKLCHoklch(51.78% 0.19 347.5)
XYZxyz(22.0115, 11.9580, 20.2138)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF267C #26AF59
analogous
#9E26AF #AF267C #AF2638
triadic
#AF267C #7CAF26 #267CAF
tetradic
#AF267C #AF9E26 #26AF59 #2638AF
square
#AF267C #AF9E26 #26AF59 #2638AF
split-complementary
#AF267C #38AF26 #26AF9E
monochromatic
#4A1035 #7D1B58 #AF267C #D53D9C #E070B6

Accessibility & contrast

On white

6.19
#AF267C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF267C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF267C
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF267C#FFFFFF#000000##FFFFFF
##AF267C1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#BC204E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af267c;
/* rgb */ color: rgb(175, 38, 124);
/* oklch */ color: oklch(51.8% 0.190 347.5);
Tailwind
colors: {
  custom: {
    50: '#cb6fa2',
    500: '#af267c',
    950: '#000000',
  },
}
SCSS
$custom: #af267c;
$custom-light: #cb6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#af267c",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 322.336,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51783,
    "c": 0.18962,
    "h": 347.5
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#AF267C
secondary
#6AC78D
accent
#E77F40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #AF267C

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

Preview Lab → · Contrast checker → · Palette generator →

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