#AF2D4A#AF2D4A

#AF2D4A is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.166 H 12.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF2D4A
RGBrgb(175, 45, 74)
HSLhsl(347, 59%, 43%)
HSVhsv(347, 74%, 69%)
CMYKcmyk(0%, 74.3%, 57.7%, 31.4%)
CIE-LABlab(40.39, 53.61, 14.70)
CIE-LCHlch(40.39, 55.59, 15.33°)
OKLaboklab(50.72% 0.1618 0.0366)
OKLCHoklch(50.72% 0.166 12.7)
XYZxyz(19.8555, 11.4880, 7.6491)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D4A #2DAF92
analogous
#AF2D8B #AF2D4A #AF512D
triadic
#AF2D4A #4AAF2D #2D4AAF
tetradic
#AF2D4A #8BAF2D #2DAF92 #512DAF
square
#AF2D4A #8BAF2D #2DAF92 #512DAF
split-complementary
#AF2D4A #2DAF51 #2D8BAF
monochromatic
#4E1421 #7E2035 #AF2D4A #D04967 #DD7A90

Accessibility & contrast

On white

6.37
#AF2D4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2D4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D4A
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D4A#FFFFFF#000000##FFFFFF
##AF2D4A1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#BF0339
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d4a;
/* rgb */ color: rgb(175, 45, 74);
/* oklch */ color: oklch(50.7% 0.166 12.7);
Tailwind
colors: {
  custom: {
    50: '#cd717c',
    500: '#af2d4a',
    950: '#000000',
  },
}
SCSS
$custom: #af2d4a;
$custom-light: #cd717c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d4a",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 74
  },
  "hsl": {
    "h": 346.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.16585,
    "h": 12.7
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#AF2D4A
secondary
#73C5B3
accent
#E2BF46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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