#AF2959#AF2959

#AF2959 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.172 H 4.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF2959
RGBrgb(175, 41, 89)
HSLhsl(339, 62%, 42%)
HSVhsv(339, 77%, 69%)
CMYKcmyk(0%, 76.6%, 49.1%, 31.4%)
CIE-LABlab(40.29, 56.15, 5.08)
CIE-LCHlch(40.29, 56.38, 5.17°)
OKLaboklab(50.76% 0.1718 0.0135)
OKLCHoklch(50.76% 0.172 4.5)
XYZxyz(20.2770, 11.4239, 10.5865)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2959 #29AF7F
analogous
#AF299C #AF2959 #AF3C29
triadic
#AF2959 #59AF29 #2959AF
tetradic
#AF2959 #9CAF29 #29AF7F #3C29AF
square
#AF2959 #9CAF29 #29AF7F #3C29AF
split-complementary
#AF2959 #29AF3C #299CAF
monochromatic
#4C1227 #7D1D40 #AF2959 #D34276 #DE749A

Accessibility & contrast

On white

6.39
#AF2959 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2959 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2959
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2959#FFFFFF#000000##FFFFFF
##AF29591.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#BF063E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2959;
/* rgb */ color: rgb(175, 41, 89);
/* oklch */ color: oklch(50.8% 0.172 4.5);
Tailwind
colors: {
  custom: {
    50: '#cd6f87',
    500: '#af2959',
    950: '#000000',
  },
}
SCSS
$custom: #af2959;
$custom-light: #cd6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#af2959",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 338.507,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.17235,
    "h": 4.5
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#AF2959
secondary
#6EC6A6
accent
#E5AB43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2959

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

Preview Lab → · Contrast checker → · Palette generator →

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