#AF2462#AF2462

#AF2462 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.180 H 359.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF2462
RGBrgb(175, 36, 98)
HSLhsl(333, 66%, 41%)
HSVhsv(333, 79%, 69%)
CMYKcmyk(0%, 79.4%, 44%, 31.4%)
CIE-LABlab(40.02, 58.49, -1.00)
CIE-LCHlch(40.02, 58.50, 359.02°)
OKLaboklab(50.65% 0.1798 -0.0019)
OKLCHoklch(50.65% 0.18 359.4)
XYZxyz(20.5163, 11.2603, 12.6460)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2462 #24AF71
analogous
#AF24A8 #AF2462 #AF2B24
triadic
#AF2462 #62AF24 #2462AF
tetradic
#AF2462 #A8AF24 #24AF71 #2B24AF
square
#AF2462 #A8AF24 #24AF71 #2B24AF
split-complementary
#AF2462 #24AF2B #24A8AF
monochromatic
#490F29 #7C1A46 #AF2462 #D63A80 #E16DA0

Accessibility & contrast

On white

6.46
#AF2462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2462
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2462#FFFFFF#000000##FFFFFF
##AF24621.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2462;
/* rgb */ color: rgb(175, 36, 98);
/* oklch */ color: oklch(50.7% 0.180 359.4);
Tailwind
colors: {
  custom: {
    50: '#cc6e8e',
    500: '#af2462',
    950: '#000000',
  },
}
SCSS
$custom: #af2462;
$custom-light: #cc6e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2462",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 98
  },
  "hsl": {
    "h": 333.237,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.17983,
    "h": 359.4
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#AF2462
secondary
#68C79D
accent
#E99D3F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2462

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

Preview Lab → · Contrast checker → · Palette generator →

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