#AF2D5C#AF2D5C

#AF2D5C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.169 H 3.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF2D5C
RGBrgb(175, 45, 92)
HSLhsl(338, 59%, 43%)
HSVhsv(338, 74%, 69%)
CMYKcmyk(0%, 74.3%, 47.4%, 31.4%)
CIE-LABlab(40.84, 55.09, 3.98)
CIE-LCHlch(40.84, 55.24, 4.14°)
OKLaboklab(51.2% 0.1686 0.0108)
OKLCHoklch(51.2% 0.169 3.7)
XYZxyz(20.5510, 11.7662, 11.3120)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D5C #2DAF80
analogous
#AF2D9D #AF2D5C #AF3F2D
triadic
#AF2D5C #5CAF2D #2D5CAF
tetradic
#AF2D5C #9DAF2D #2DAF80 #3F2DAF
square
#AF2D5C #9DAF2D #2DAF80 #3F2DAF
split-complementary
#AF2D5C #2DAF3F #2D9DAF
monochromatic
#4E1429 #7E2042 #AF2D5C #D0497A #DD7A9D

Accessibility & contrast

On white

6.26
#AF2D5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2D5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D5C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D5C#FFFFFF#000000##FFFFFF
##AF2D5C1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505D
Deuteranopia (green-blind)
#6E6A59
Tritanopia (blue-blind)
#BE1341
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d5c;
/* rgb */ color: rgb(175, 45, 92);
/* oklch */ color: oklch(51.2% 0.169 3.7);
Tailwind
colors: {
  custom: {
    50: '#cc7189',
    500: '#af2d5c',
    950: '#000000',
  },
}
SCSS
$custom: #af2d5c;
$custom-light: #cc7189;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d5c",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 338.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.512,
    "c": 0.16898,
    "h": 3.7
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#AF2D5C
secondary
#73C5A7
accent
#E2AA46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF2D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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