#AF2956#AF2956

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

Color values

HEX#AF2956
RGBrgb(175, 41, 86)
HSLhsl(340, 62%, 42%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 76.6%, 50.9%, 31.4%)
CIE-LABlab(40.20, 55.90, 6.86)
CIE-LCHlch(40.20, 56.31, 7.00°)
OKLaboklab(50.68% 0.1707 0.0179)
OKLCHoklch(50.68% 0.172 6)
XYZxyz(20.1536, 11.3745, 9.9366)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2956 #29AF82
analogous
#AF2999 #AF2956 #AF3F29
triadic
#AF2956 #56AF29 #2956AF
tetradic
#AF2956 #99AF29 #29AF82 #3F29AF
square
#AF2956 #99AF29 #29AF82 #3F29AF
split-complementary
#AF2956 #29AF3F #2999AF
monochromatic
#4C1225 #7D1D3E #AF2956 #D34273 #DE7498

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2956#FFFFFF#000000##FFFFFF
##AF29561.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#6E6853
Tritanopia (blue-blind)
#BF033C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2956;
/* rgb */ color: rgb(175, 41, 86);
/* oklch */ color: oklch(50.7% 0.172 6.0);
Tailwind
colors: {
  custom: {
    50: '#cd6f85',
    500: '#af2956',
    950: '#000000',
  },
}
SCSS
$custom: #af2956;
$custom-light: #cd6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#af2956",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 339.851,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.17165,
    "h": 6
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2956

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

Preview Lab → · Contrast checker → · Palette generator →

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