#AF2D50#AF2D50

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

Color values

HEX#AF2D50
RGBrgb(175, 45, 80)
HSLhsl(344, 59%, 43%)
HSVhsv(344, 74%, 69%)
CMYKcmyk(0%, 74.3%, 54.3%, 31.4%)
CIE-LABlab(40.53, 54.07, 11.11)
CIE-LCHlch(40.53, 55.20, 11.61°)
OKLaboklab(50.87% 0.1641 0.0282)
OKLCHoklch(50.87% 0.167 9.8)
XYZxyz(20.0674, 11.5727, 8.7649)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D50 #2DAF8C
analogous
#AF2D91 #AF2D50 #AF4B2D
triadic
#AF2D50 #50AF2D #2D50AF
tetradic
#AF2D50 #91AF2D #2DAF8C #4B2DAF
square
#AF2D50 #91AF2D #2DAF8C #4B2DAF
split-complementary
#AF2D50 #2DAF4B #2D91AF
monochromatic
#4E1423 #7E203A #AF2D50 #D0496D #DD7A94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2D50#FFFFFF#000000##FFFFFF
##AF2D501.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)
#4E4F51
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#BF093C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d50;
/* rgb */ color: rgb(175, 45, 80);
/* oklch */ color: oklch(50.9% 0.167 9.8);
Tailwind
colors: {
  custom: {
    50: '#cd7180',
    500: '#af2d50',
    950: '#000000',
  },
}
SCSS
$custom: #af2d50;
$custom-light: #cd7180;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d50",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 343.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.16654,
    "h": 9.8
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2D50

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

Preview Lab → · Contrast checker → · Palette generator →

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