#AF2458#AF2458

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

Color values

HEX#AF2458
RGBrgb(175, 36, 88)
HSLhsl(338, 66%, 41%)
HSVhsv(338, 79%, 69%)
CMYKcmyk(0%, 79.4%, 49.7%, 31.4%)
CIE-LABlab(39.72, 57.59, 4.90)
CIE-LCHlch(39.72, 57.79, 4.87°)
OKLaboklab(50.34% 0.1764 0.0131)
OKLCHoklch(50.34% 0.177 4.2)
XYZxyz(20.0733, 11.0831, 10.3129)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2458 #24AF7B
analogous
#AF249E #AF2458 #AF3624
triadic
#AF2458 #58AF24 #2458AF
tetradic
#AF2458 #9EAF24 #24AF7B #3624AF
square
#AF2458 #9EAF24 #24AF7B #3624AF
split-complementary
#AF2458 #24AF36 #249EAF
monochromatic
#490F25 #7C1A3E #AF2458 #D63A74 #E16D98

Accessibility & contrast

On white

6.53
#AF2458 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2458 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2458
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2458#FFFFFF#000000##FFFFFF
##AF24581.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2458;
/* rgb */ color: rgb(175, 36, 88);
/* oklch */ color: oklch(50.3% 0.177 4.2);
Tailwind
colors: {
  custom: {
    50: '#cd6e86',
    500: '#af2458',
    950: '#000000',
  },
}
SCSS
$custom: #af2458;
$custom-light: #cd6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#af2458",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 337.554,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50338,
    "c": 0.17683,
    "h": 4.2
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#AF2458
secondary
#68C7A3
accent
#E9A93F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2458

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

Preview Lab → · Contrast checker → · Palette generator →

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