#AF2957#AF2957

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

Color values

HEX#AF2957
RGBrgb(175, 41, 87)
HSLhsl(339, 62%, 42%)
HSVhsv(339, 77%, 69%)
CMYKcmyk(0%, 76.6%, 50.3%, 31.4%)
CIE-LABlab(40.23, 55.98, 6.26)
CIE-LCHlch(40.23, 56.33, 6.39°)
OKLaboklab(50.71% 0.1711 0.0165)
OKLCHoklch(50.71% 0.172 5.5)
XYZxyz(20.1942, 11.3907, 10.1502)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2957 #29AF81
analogous
#AF299A #AF2957 #AF3E29
triadic
#AF2957 #57AF29 #2957AF
tetradic
#AF2957 #9AAF29 #29AF81 #3E29AF
square
#AF2957 #9AAF29 #29AF81 #3E29AF
split-complementary
#AF2957 #29AF3E #299AAF
monochromatic
#4C1226 #7D1D3E #AF2957 #D34274 #DE7499

Accessibility & contrast

On white

6.41
#AF2957 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2957
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2957#FFFFFF#000000##FFFFFF
##AF29571.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E58
Deuteranopia (green-blind)
#6E6854
Tritanopia (blue-blind)
#BF043D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2957;
/* rgb */ color: rgb(175, 41, 87);
/* oklch */ color: oklch(50.7% 0.172 5.5);
Tailwind
colors: {
  custom: {
    50: '#cd6f86',
    500: '#af2957',
    950: '#000000',
  },
}
SCSS
$custom: #af2957;
$custom-light: #cd6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#af2957",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 339.403,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.17188,
    "h": 5.5
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#AF2957
secondary
#6EC6A8
accent
#E5AD43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2957

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

Preview Lab → · Contrast checker → · Palette generator →

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