#AF2456#AF2456

#AF2456 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.176 H 5.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2456
RGBrgb(175, 36, 86)
HSLhsl(338, 66%, 41%)
HSVhsv(338, 79%, 69%)
CMYKcmyk(0%, 79.4%, 50.9%, 31.4%)
CIE-LABlab(39.67, 57.42, 6.09)
CIE-LCHlch(39.67, 57.74, 6.06°)
OKLaboklab(50.28% 0.1756 0.016)
OKLCHoklch(50.28% 0.176 5.2)
XYZxyz(19.9916, 11.0504, 9.8825)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2456 #24AF7D
analogous
#AF249C #AF2456 #AF3724
triadic
#AF2456 #56AF24 #2456AF
tetradic
#AF2456 #9CAF24 #24AF7D #3724AF
square
#AF2456 #9CAF24 #24AF7D #3724AF
split-complementary
#AF2456 #24AF37 #249CAF
monochromatic
#490F24 #7C1A3D #AF2456 #D63A72 #E16D96

Accessibility & contrast

On white

6.54
#AF2456 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2456 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2456
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2456#FFFFFF#000000##FFFFFF
##AF24561.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C57
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2456;
/* rgb */ color: rgb(175, 36, 86);
/* oklch */ color: oklch(50.3% 0.176 5.2);
Tailwind
colors: {
  custom: {
    50: '#cd6d85',
    500: '#af2456',
    950: '#000000',
  },
}
SCSS
$custom: #af2456;
$custom-light: #cd6d85;
$custom-dark: #000000;
JSON
{
  "hex": "#af2456",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 338.417,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.17635,
    "h": 5.2
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#AF2456
secondary
#68C7A5
accent
#E9AC3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2456

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

Preview Lab → · Contrast checker → · Palette generator →

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