#AF2C4D#AF2C4D

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

Color values

HEX#AF2C4D
RGBrgb(175, 44, 77)
HSLhsl(345, 60%, 43%)
HSVhsv(345, 75%, 69%)
CMYKcmyk(0%, 74.9%, 56%, 31.4%)
CIE-LABlab(40.33, 54.18, 12.73)
CIE-LCHlch(40.33, 55.66, 13.22°)
OKLaboklab(50.7% 0.1641 0.032)
OKLCHoklch(50.7% 0.167 11)
XYZxyz(19.9213, 11.4540, 8.1816)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C4D #2CAF8E
analogous
#AF2C8F #AF2C4D #AF4C2C
triadic
#AF2C4D #4DAF2C #2C4DAF
tetradic
#AF2C4D #8FAF2C #2CAF8E #4C2CAF
square
#AF2C4D #8FAF2C #2CAF8E #4C2CAF
split-complementary
#AF2C4D #2CAF4C #2C8FAF
monochromatic
#4D1322 #7E2037 #AF2C4D #D1476A #DD7892

Accessibility & contrast

On white

6.38
#AF2C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C4D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C4D#FFFFFF#000000##FFFFFF
##AF2C4D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#70694A
Tritanopia (blue-blind)
#BF033A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c4d;
/* rgb */ color: rgb(175, 44, 77);
/* oklch */ color: oklch(50.7% 0.167 11.0);
Tailwind
colors: {
  custom: {
    50: '#cd707e',
    500: '#af2c4d',
    950: '#000000',
  },
}
SCSS
$custom: #af2c4d;
$custom-light: #cd707e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c4d",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 344.885,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.507,
    "c": 0.16716,
    "h": 11
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#AF2C4D
secondary
#72C5B0
accent
#E3BB45
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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