#AF267E#AF267E

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

Color values

HEX#AF267E
RGBrgb(175, 38, 126)
HSLhsl(321, 64%, 42%)
HSVhsv(321, 78%, 69%)
CMYKcmyk(0%, 78.3%, 28%, 31.4%)
CIE-LABlab(41.23, 60.96, -16.67)
CIE-LCHlch(41.23, 63.20, 344.70°)
OKLaboklab(51.87% 0.1855 -0.0441)
OKLCHoklch(51.87% 0.191 346.6)
XYZxyz(22.1393, 12.0091, 20.8867)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF267E #26AF57
analogous
#9C26AF #AF267E #AF263A
triadic
#AF267E #7EAF26 #267EAF
tetradic
#AF267E #AF9C26 #26AF57 #263AAF
square
#AF267E #AF9C26 #26AF57 #263AAF
split-complementary
#AF267E #3AAF26 #26AF9C
monochromatic
#4A1036 #7D1B5A #AF267E #D53D9F #E070B8

Accessibility & contrast

On white

6.17
#AF267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF267E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF267E#FFFFFF#000000##FFFFFF
##AF267E1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#BB214F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af267e;
/* rgb */ color: rgb(175, 38, 126);
/* oklch */ color: oklch(51.9% 0.191 346.6);
Tailwind
colors: {
  custom: {
    50: '#cb70a3',
    500: '#af267e',
    950: '#000000',
  },
}
SCSS
$custom: #af267e;
$custom-light: #cb70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af267e",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 321.46,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.19072,
    "h": 346.6
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#AF267E
secondary
#6AC78B
accent
#E77C40
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF267E

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

Preview Lab → · Contrast checker → · Palette generator →

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