#AF2267#AF2267

#AF2267 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.183 H 356.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF2267
RGBrgb(175, 34, 103)
HSLhsl(331, 67%, 41%)
HSVhsv(331, 81%, 69%)
CMYKcmyk(0%, 80.6%, 41.1%, 31.4%)
CIE-LABlab(39.98, 59.53, -4.21)
CIE-LCHlch(39.98, 59.68, 355.96°)
OKLaboklab(50.68% 0.1832 -0.0103)
OKLCHoklch(50.68% 0.183 356.8)
XYZxyz(20.7009, 11.2400, 13.9088)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2267 #22AF6A
analogous
#AF22AD #AF2267 #AF2322
triadic
#AF2267 #67AF22 #2267AF
tetradic
#AF2267 #ADAF22 #22AF6A #2322AF
square
#AF2267 #ADAF22 #22AF6A #2322AF
split-complementary
#AF2267 #22AF23 #22ADAF
monochromatic
#490E2B #7C1849 #AF2267 #D83685 #E269A4

Accessibility & contrast

On white

6.47
#AF2267 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2267 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2267
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2267#FFFFFF#000000##FFFFFF
##AF22671.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424D69
Deuteranopia (green-blind)
#696864
Tritanopia (blue-blind)
#BE0442
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2267;
/* rgb */ color: rgb(175, 34, 103);
/* oklch */ color: oklch(50.7% 0.183 356.8);
Tailwind
colors: {
  custom: {
    50: '#cc6d92',
    500: '#af2267',
    950: '#000000',
  },
}
SCSS
$custom: #af2267;
$custom-light: #cc6d92;
$custom-dark: #000000;
JSON
{
  "hex": "#af2267",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 330.638,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.18348,
    "h": 356.8
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#AF2267
secondary
#65C897
accent
#EA963D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080D
muted
#837B7D

Preview Lab

Preview with #AF2267

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

Preview Lab → · Contrast checker → · Palette generator →

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