#AF2C4F#AF2C4F

#AF2C4F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.167 H 10.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF2C4F
RGBrgb(175, 44, 79)
HSLhsl(344, 60%, 43%)
HSVhsv(344, 75%, 69%)
CMYKcmyk(0%, 74.9%, 54.9%, 31.4%)
CIE-LABlab(40.38, 54.34, 11.53)
CIE-LCHlch(40.38, 55.55, 11.99°)
OKLaboklab(50.75% 0.1648 0.0292)
OKLCHoklch(50.75% 0.167 10.1)
XYZxyz(19.9930, 11.4826, 8.5592)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C4F #2CAF8C
analogous
#AF2C91 #AF2C4F #AF4A2C
triadic
#AF2C4F #4FAF2C #2C4FAF
tetradic
#AF2C4F #91AF2C #2CAF8C #4A2CAF
square
#AF2C4F #91AF2C #2CAF8C #4A2CAF
split-complementary
#AF2C4F #2CAF4A #2C91AF
monochromatic
#4D1323 #7E2039 #AF2C4F #D1476C #DD7893

Accessibility & contrast

On white

6.37
#AF2C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C4F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C4F#FFFFFF#000000##FFFFFF
##AF2C4F1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E50
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#BF053B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c4f;
/* rgb */ color: rgb(175, 44, 79);
/* oklch */ color: oklch(50.7% 0.167 10.1);
Tailwind
colors: {
  custom: {
    50: '#cd7080',
    500: '#af2c4f',
    950: '#000000',
  },
}
SCSS
$custom: #af2c4f;
$custom-light: #cd7080;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c4f",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 79
  },
  "hsl": {
    "h": 343.969,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.16741,
    "h": 10.1
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#AF2C4F
secondary
#72C5AF
accent
#E3B945
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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