#AF2859#AF2859

#AF2859 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.173 H 4.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AF2859
RGBrgb(175, 40, 89)
HSLhsl(338, 63%, 42%)
HSVhsv(338, 77%, 69%)
CMYKcmyk(0%, 77.1%, 49.1%, 31.4%)
CIE-LABlab(40.17, 56.47, 4.92)
CIE-LCHlch(40.17, 56.68, 4.98°)
OKLaboklab(50.68% 0.1728 0.0131)
OKLCHoklch(50.68% 0.173 4.3)
XYZxyz(20.2429, 11.3556, 10.5752)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2859 #28AF7E
analogous
#AF289D #AF2859 #AF3A28
triadic
#AF2859 #59AF28 #2859AF
tetradic
#AF2859 #9DAF28 #28AF7E #3A28AF
square
#AF2859 #9DAF28 #28AF7E #3A28AF
split-complementary
#AF2859 #28AF3A #289DAF
monochromatic
#4B1126 #7D1D40 #AF2859 #D44176 #DF739A

Accessibility & contrast

On white

6.42
#AF2859 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2859 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2859
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2859#FFFFFF#000000##FFFFFF
##AF28591.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#BF033D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2859;
/* rgb */ color: rgb(175, 40, 89);
/* oklch */ color: oklch(50.7% 0.173 4.3);
Tailwind
colors: {
  custom: {
    50: '#cd6f87',
    500: '#af2859',
    950: '#000000',
  },
}
SCSS
$custom: #af2859;
$custom-light: #cd6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#af2859",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 338.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5068,
    "c": 0.17334,
    "h": 4.3
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#AF2859
secondary
#6DC6A6
accent
#E6AA42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2859

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

Preview Lab → · Contrast checker → · Palette generator →

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