#AF2C5D#AF2C5D

#AF2C5D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.170 H 3.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF2C5D
RGBrgb(175, 44, 93)
HSLhsl(338, 60%, 43%)
HSVhsv(338, 75%, 69%)
CMYKcmyk(0%, 74.9%, 46.9%, 31.4%)
CIE-LABlab(40.75, 55.52, 3.22)
CIE-LCHlch(40.75, 55.62, 3.32°)
OKLaboklab(51.14% 0.1701 0.0089)
OKLCHoklch(51.14% 0.17 3)
XYZxyz(20.5573, 11.7084, 11.5312)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C5D #2CAF7E
analogous
#AF2C9E #AF2C5D #AF3C2C
triadic
#AF2C5D #5DAF2C #2C5DAF
tetradic
#AF2C5D #9EAF2C #2CAF7E #3C2CAF
square
#AF2C5D #9EAF2C #2CAF7E #3C2CAF
split-complementary
#AF2C5D #2CAF3C #2C9EAF
monochromatic
#4D1329 #7E2043 #AF2C5D #D1477B #DD789E

Accessibility & contrast

On white

6.29
#AF2C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C5D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C5D#FFFFFF#000000##FFFFFF
##AF2C5D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A505E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#BE1241
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c5d;
/* rgb */ color: rgb(175, 44, 93);
/* oklch */ color: oklch(51.1% 0.170 3.0);
Tailwind
colors: {
  custom: {
    50: '#cc718a',
    500: '#af2c5d',
    950: '#000000',
  },
}
SCSS
$custom: #af2c5d;
$custom-light: #cc718a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c5d",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 337.557,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.17033,
    "h": 3
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#AF2C5D
secondary
#72C5A6
accent
#E3A845
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF2C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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