#AF2E50#AF2E50

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

Color values

HEX#AF2E50
RGBrgb(175, 46, 80)
HSLhsl(344, 58%, 43%)
HSVhsv(344, 74%, 69%)
CMYKcmyk(0%, 73.7%, 54.3%, 31.4%)
CIE-LABlab(40.65, 53.72, 11.28)
CIE-LCHlch(40.65, 54.89, 11.86°)
OKLaboklab(50.96% 0.163 0.0286)
OKLCHoklch(50.96% 0.166 10)
XYZxyz(20.1060, 11.6499, 8.7778)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E50 #2EAF8D
analogous
#AF2E90 #AF2E50 #AF4C2E
triadic
#AF2E50 #50AF2E #2E50AF
tetradic
#AF2E50 #90AF2E #2EAF8D #4C2EAF
square
#AF2E50 #90AF2E #2EAF8D #4C2EAF
split-complementary
#AF2E50 #2EAF4C #2E90AF
monochromatic
#4E1524 #7F213A #AF2E50 #D04B6E #DC7B95

Accessibility & contrast

On white

6.31
#AF2E50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2E50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E50
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E50#FFFFFF#000000##FFFFFF
##AF2E501.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F51
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#BF0C3C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e50;
/* rgb */ color: rgb(175, 46, 80);
/* oklch */ color: oklch(51.0% 0.166 10.0);
Tailwind
colors: {
  custom: {
    50: '#cd7180',
    500: '#af2e50',
    950: '#000000',
  },
}
SCSS
$custom: #af2e50;
$custom-light: #cd7180;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e50",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 344.186,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.1655,
    "h": 10
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2E50

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

Preview Lab → · Contrast checker → · Palette generator →

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