#AF2460#AF2460

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

Color values

HEX#AF2460
RGBrgb(175, 36, 96)
HSLhsl(334, 66%, 41%)
HSVhsv(334, 79%, 69%)
CMYKcmyk(0%, 79.4%, 45.1%, 31.4%)
CIE-LABlab(39.95, 58.30, 0.17)
CIE-LCHlch(39.95, 58.30, 0.17°)
OKLaboklab(50.59% 0.1792 0.0011)
OKLCHoklch(50.59% 0.179 0.3)
XYZxyz(20.4230, 11.2230, 12.1549)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2460 #24AF73
analogous
#AF24A6 #AF2460 #AF2E24
triadic
#AF2460 #60AF24 #2460AF
tetradic
#AF2460 #A6AF24 #24AF73 #2E24AF
square
#AF2460 #A6AF24 #24AF73 #2E24AF
split-complementary
#AF2460 #24AF2E #24A6AF
monochromatic
#490F28 #7C1A44 #AF2460 #D63A7D #E16D9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2460#FFFFFF#000000##FFFFFF
##AF24601.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D61
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#BE003F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2460;
/* rgb */ color: rgb(175, 36, 96);
/* oklch */ color: oklch(50.6% 0.179 0.3);
Tailwind
colors: {
  custom: {
    50: '#cd6e8d',
    500: '#af2460',
    950: '#000000',
  },
}
SCSS
$custom: #af2460;
$custom-light: #cd6e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2460",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 334.101,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.17915,
    "h": 0.3
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#AF2460
secondary
#68C79E
accent
#E9A03F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2460

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

Preview Lab → · Contrast checker → · Palette generator →

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