#AF2362#AF2362

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

Color values

HEX#AF2362
RGBrgb(175, 35, 98)
HSLhsl(333, 67%, 41%)
HSVhsv(333, 80%, 69%)
CMYKcmyk(0%, 80%, 44%, 31.4%)
CIE-LABlab(39.92, 58.77, -1.15)
CIE-LCHlch(39.92, 58.78, 358.88°)
OKLaboklab(50.58% 0.1807 -0.0023)
OKLCHoklch(50.58% 0.181 359.3)
XYZxyz(20.4864, 11.2006, 12.6361)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2362 #23AF70
analogous
#AF23A8 #AF2362 #AF2A23
triadic
#AF2362 #62AF23 #2362AF
tetradic
#AF2362 #A8AF23 #23AF70 #2A23AF
square
#AF2362 #A8AF23 #23AF70 #2A23AF
split-complementary
#AF2362 #23AF2A #23A8AF
monochromatic
#490F29 #7C1945 #AF2362 #D73880 #E16BA0

Accessibility & contrast

On white

6.48
#AF2362 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2362
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2362#FFFFFF#000000##FFFFFF
##AF23621.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2362;
/* rgb */ color: rgb(175, 35, 98);
/* oklch */ color: oklch(50.6% 0.181 359.3);
Tailwind
colors: {
  custom: {
    50: '#cc6d8e',
    500: '#af2362',
    950: '#000000',
  },
}
SCSS
$custom: #af2362;
$custom-light: #cc6d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2362",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 333,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.18073,
    "h": 359.3
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#AF2362
secondary
#66C79C
accent
#EA9C3E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2362

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

Preview Lab → · Contrast checker → · Palette generator →

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