#AF2262#AF2262

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

Color values

HEX#AF2262
RGBrgb(175, 34, 98)
HSLhsl(333, 67%, 41%)
HSVhsv(333, 81%, 69%)
CMYKcmyk(0%, 80.6%, 44%, 31.4%)
CIE-LABlab(39.82, 59.04, -1.29)
CIE-LCHlch(39.82, 59.06, 358.75°)
OKLaboklab(50.51% 0.1816 -0.0027)
OKLCHoklch(50.51% 0.182 359.2)
XYZxyz(20.4574, 11.1426, 12.6264)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2262 #22AF6F
analogous
#AF22A8 #AF2262 #AF2822
triadic
#AF2262 #62AF22 #2262AF
tetradic
#AF2262 #A8AF22 #22AF6F #2822AF
square
#AF2262 #A8AF22 #22AF6F #2822AF
split-complementary
#AF2262 #22AF28 #22A8AF
monochromatic
#490E29 #7C1845 #AF2262 #D83680 #E269A0

Accessibility & contrast

On white

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

On black

3.23
#AF2262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2262#FFFFFF#000000##FFFFFF
##AF22621.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2262;
/* rgb */ color: rgb(175, 34, 98);
/* oklch */ color: oklch(50.5% 0.182 359.2);
Tailwind
colors: {
  custom: {
    50: '#cc6d8e',
    500: '#af2262',
    950: '#000000',
  },
}
SCSS
$custom: #af2262;
$custom-light: #cc6d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2262",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 332.766,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.18163,
    "h": 359.2
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#AF2262
secondary
#65C89B
accent
#EA9C3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2262

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

Preview Lab → · Contrast checker → · Palette generator →

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