#AF2261#AF2261

#AF2261 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.181 H 359.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2261
RGBrgb(175, 34, 97)
HSLhsl(333, 67%, 41%)
HSVhsv(333, 81%, 69%)
CMYKcmyk(0%, 80.6%, 44.6%, 31.4%)
CIE-LABlab(39.79, 58.95, -0.70)
CIE-LCHlch(39.79, 58.95, 359.32°)
OKLaboklab(50.48% 0.1813 -0.0012)
OKLCHoklch(50.48% 0.181 359.6)
XYZxyz(20.4105, 11.1238, 12.3793)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2261 #22AF70
analogous
#AF22A7 #AF2261 #AF2922
triadic
#AF2261 #61AF22 #2261AF
tetradic
#AF2261 #A7AF22 #22AF70 #2922AF
square
#AF2261 #A7AF22 #22AF70 #2922AF
split-complementary
#AF2261 #22AF29 #22A7AF
monochromatic
#490E28 #7C1845 #AF2261 #D8367E #E2699F

Accessibility & contrast

On white

6.51
#AF2261 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2261 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2261
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2261#FFFFFF#000000##FFFFFF
##AF22611.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D62
Deuteranopia (green-blind)
#6A675E
Tritanopia (blue-blind)
#BE003F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2261;
/* rgb */ color: rgb(175, 34, 97);
/* oklch */ color: oklch(50.5% 0.181 359.6);
Tailwind
colors: {
  custom: {
    50: '#cd6d8d',
    500: '#af2261',
    950: '#000000',
  },
}
SCSS
$custom: #af2261;
$custom-light: #cd6d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2261",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 333.191,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50475,
    "c": 0.18128,
    "h": 359.6
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#AF2261
secondary
#65C89C
accent
#EA9D3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2261

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

Preview Lab → · Contrast checker → · Palette generator →

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