#AF2C4E#AF2C4E

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

Color values

HEX#AF2C4E
RGBrgb(175, 44, 78)
HSLhsl(344, 60%, 43%)
HSVhsv(344, 75%, 69%)
CMYKcmyk(0%, 74.9%, 55.4%, 31.4%)
CIE-LABlab(40.36, 54.26, 12.13)
CIE-LCHlch(40.36, 55.60, 12.61°)
OKLaboklab(50.72% 0.1645 0.0306)
OKLCHoklch(50.72% 0.167 10.6)
XYZxyz(19.9569, 11.4682, 8.3690)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C4E #2CAF8D
analogous
#AF2C90 #AF2C4E #AF4B2C
triadic
#AF2C4E #4EAF2C #2C4EAF
tetradic
#AF2C4E #90AF2C #2CAF8D #4B2CAF
square
#AF2C4E #90AF2C #2CAF8D #4B2CAF
split-complementary
#AF2C4E #2CAF4B #2C90AF
monochromatic
#4D1322 #7E2038 #AF2C4E #D1476B #DD7892

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2C4E#FFFFFF#000000##FFFFFF
##AF2C4E1.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)
#4E4E4F
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#BF043A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c4e;
/* rgb */ color: rgb(175, 44, 78);
/* oklch */ color: oklch(50.7% 0.167 10.6);
Tailwind
colors: {
  custom: {
    50: '#cd707f',
    500: '#af2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #af2c4e;
$custom-light: #cd707f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c4e",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 344.427,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50725,
    "c": 0.16728,
    "h": 10.6
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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