#AF2264#AF2264

#AF2264 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.182 H 358.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF2264
RGBrgb(175, 34, 100)
HSLhsl(332, 67%, 41%)
HSVhsv(332, 81%, 69%)
CMYKcmyk(0%, 80.6%, 42.9%, 31.4%)
CIE-LABlab(39.88, 59.24, -2.46)
CIE-LCHlch(39.88, 59.29, 357.62°)
OKLaboklab(50.58% 0.1823 -0.0057)
OKLCHoklch(50.58% 0.182 358.2)
XYZxyz(20.5531, 11.1808, 13.1299)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2264 #22AF6D
analogous
#AF22AA #AF2264 #AF2622
triadic
#AF2264 #64AF22 #2264AF
tetradic
#AF2264 #AAAF22 #22AF6D #2622AF
square
#AF2264 #AAAF22 #22AF6D #2622AF
split-complementary
#AF2264 #22AF26 #22AAAF
monochromatic
#490E29 #7C1847 #AF2264 #D83682 #E269A2

Accessibility & contrast

On white

6.49
#AF2264 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2264 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2264
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2264#FFFFFF#000000##FFFFFF
##AF22641.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D66
Deuteranopia (green-blind)
#696761
Tritanopia (blue-blind)
#BE0040
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2264;
/* rgb */ color: rgb(175, 34, 100);
/* oklch */ color: oklch(50.6% 0.182 358.2);
Tailwind
colors: {
  custom: {
    50: '#cc6d90',
    500: '#af2264',
    950: '#000000',
  },
}
SCSS
$custom: #af2264;
$custom-light: #cc6d90;
$custom-dark: #000000;
JSON
{
  "hex": "#af2264",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 331.915,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.18234,
    "h": 358.2
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#AF2264
secondary
#65C89A
accent
#EA993D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2264

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

Preview Lab → · Contrast checker → · Palette generator →

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