#AF2D4F#AF2D4F

#AF2D4F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.166 H 10.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF2D4F
RGBrgb(175, 45, 79)
HSLhsl(344, 59%, 43%)
HSVhsv(344, 74%, 69%)
CMYKcmyk(0%, 74.3%, 54.9%, 31.4%)
CIE-LABlab(40.50, 53.99, 11.71)
CIE-LCHlch(40.50, 55.25, 12.23°)
OKLaboklab(50.84% 0.1637 0.0296)
OKLCHoklch(50.84% 0.166 10.3)
XYZxyz(20.0307, 11.5580, 8.5718)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D4F #2DAF8D
analogous
#AF2D90 #AF2D4F #AF4C2D
triadic
#AF2D4F #4FAF2D #2D4FAF
tetradic
#AF2D4F #90AF2D #2DAF8D #4C2DAF
square
#AF2D4F #90AF2D #2DAF8D #4C2DAF
split-complementary
#AF2D4F #2DAF4C #2D90AF
monochromatic
#4E1423 #7E2039 #AF2D4F #D0496C #DD7A94

Accessibility & contrast

On white

6.34
#AF2D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D4F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D4F#FFFFFF#000000##FFFFFF
##AF2D4F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F50
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#BF083B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d4f;
/* rgb */ color: rgb(175, 45, 79);
/* oklch */ color: oklch(50.8% 0.166 10.3);
Tailwind
colors: {
  custom: {
    50: '#cd7180',
    500: '#af2d4f',
    950: '#000000',
  },
}
SCSS
$custom: #af2d4f;
$custom-light: #cd7180;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d4f",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 344.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.1664,
    "h": 10.3
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#AF2D4F
secondary
#73C5AF
accent
#E2B946
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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