#AF2457#AF2457

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

Color values

HEX#AF2457
RGBrgb(175, 36, 87)
HSLhsl(338, 66%, 41%)
HSVhsv(338, 79%, 69%)
CMYKcmyk(0%, 79.4%, 50.3%, 31.4%)
CIE-LABlab(39.69, 57.50, 5.50)
CIE-LCHlch(39.69, 57.76, 5.46°)
OKLaboklab(50.31% 0.176 0.0146)
OKLCHoklch(50.31% 0.177 4.7)
XYZxyz(20.0322, 11.0666, 10.0962)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2457 #24AF7C
analogous
#AF249D #AF2457 #AF3724
triadic
#AF2457 #57AF24 #2457AF
tetradic
#AF2457 #9DAF24 #24AF7C #3724AF
square
#AF2457 #9DAF24 #24AF7C #3724AF
split-complementary
#AF2457 #24AF37 #249DAF
monochromatic
#490F25 #7C1A3E #AF2457 #D63A73 #E16D97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2457#FFFFFF#000000##FFFFFF
##AF24571.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)
#484C58
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2457;
/* rgb */ color: rgb(175, 36, 87);
/* oklch */ color: oklch(50.3% 0.177 4.7);
Tailwind
colors: {
  custom: {
    50: '#cd6e86',
    500: '#af2457',
    950: '#000000',
  },
}
SCSS
$custom: #af2457;
$custom-light: #cd6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#af2457",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 337.986,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.17659,
    "h": 4.7
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

primary
#AF2457
secondary
#68C7A4
accent
#E9AB3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2457

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

Preview Lab → · Contrast checker → · Palette generator →

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