#AF2955#AF2955

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

Color values

HEX#AF2955
RGBrgb(175, 41, 85)
HSLhsl(340, 62%, 42%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 76.6%, 51.4%, 31.4%)
CIE-LABlab(40.18, 55.81, 7.46)
CIE-LCHlch(40.18, 56.31, 7.61°)
OKLaboklab(50.65% 0.1703 0.0194)
OKLCHoklch(50.65% 0.171 6.5)
XYZxyz(20.1136, 11.3585, 9.7258)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2955 #29AF83
analogous
#AF2998 #AF2955 #AF4029
triadic
#AF2955 #55AF29 #2955AF
tetradic
#AF2955 #98AF29 #29AF83 #4029AF
square
#AF2955 #98AF29 #29AF83 #4029AF
split-complementary
#AF2955 #29AF40 #2998AF
monochromatic
#4C1225 #7D1D3D #AF2955 #D34272 #DE7497

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2955#FFFFFF#000000##FFFFFF
##AF29551.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)
#4B4E56
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#BF013C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2955;
/* rgb */ color: rgb(175, 41, 85);
/* oklch */ color: oklch(50.6% 0.171 6.5);
Tailwind
colors: {
  custom: {
    50: '#cd6f84',
    500: '#af2955',
    950: '#000000',
  },
}
SCSS
$custom: #af2955;
$custom-light: #cd6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#af2955",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 340.299,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.17144,
    "h": 6.5
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#AF2955
secondary
#6EC6A9
accent
#E5B043
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2955

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

Preview Lab → · Contrast checker → · Palette generator →

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