#AF2C5C#AF2C5C

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

Color values

HEX#AF2C5C
RGBrgb(175, 44, 92)
HSLhsl(338, 60%, 43%)
HSVhsv(338, 75%, 69%)
CMYKcmyk(0%, 74.9%, 47.4%, 31.4%)
CIE-LABlab(40.72, 55.43, 3.81)
CIE-LCHlch(40.72, 55.56, 3.93°)
OKLaboklab(51.11% 0.1697 0.0103)
OKLCHoklch(51.11% 0.17 3.5)
XYZxyz(20.5133, 11.6908, 11.2995)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C5C #2CAF7F
analogous
#AF2C9D #AF2C5C #AF3D2C
triadic
#AF2C5C #5CAF2C #2C5CAF
tetradic
#AF2C5C #9DAF2C #2CAF7F #3D2CAF
square
#AF2C5C #9DAF2C #2CAF7F #3D2CAF
split-complementary
#AF2C5C #2CAF3D #2C9DAF
monochromatic
#4D1329 #7E2042 #AF2C5C #D1477A #DD789D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2C5C#FFFFFF#000000##FFFFFF
##AF2C5C1.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)
#4B505D
Deuteranopia (green-blind)
#6E6959
Tritanopia (blue-blind)
#BE1140
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c5c;
/* rgb */ color: rgb(175, 44, 92);
/* oklch */ color: oklch(51.1% 0.170 3.5);
Tailwind
colors: {
  custom: {
    50: '#cc7189',
    500: '#af2c5c',
    950: '#000000',
  },
}
SCSS
$custom: #af2c5c;
$custom-light: #cc7189;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c5c",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 338.015,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.17005,
    "h": 3.5
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#AF2C5C
secondary
#72C5A7
accent
#E3A945
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF2C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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