#AF2D4D#AF2D4D

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

Color values

HEX#AF2D4D
RGBrgb(175, 45, 77)
HSLhsl(345, 59%, 43%)
HSVhsv(345, 74%, 69%)
CMYKcmyk(0%, 74.3%, 56%, 31.4%)
CIE-LABlab(40.46, 53.84, 12.90)
CIE-LCHlch(40.46, 55.36, 13.48°)
OKLaboklab(50.79% 0.163 0.0324)
OKLCHoklch(50.79% 0.166 11.3)
XYZxyz(19.9590, 11.5294, 8.1941)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D4D #2DAF8F
analogous
#AF2D8E #AF2D4D #AF4E2D
triadic
#AF2D4D #4DAF2D #2D4DAF
tetradic
#AF2D4D #8EAF2D #2DAF8F #4E2DAF
square
#AF2D4D #8EAF2D #2DAF8F #4E2DAF
split-complementary
#AF2D4D #2DAF4E #2D8EAF
monochromatic
#4E1422 #7E2038 #AF2D4D #D0496A #DD7A92

Accessibility & contrast

On white

6.35
#AF2D4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2D4D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D4D#FFFFFF#000000##FFFFFF
##AF2D4D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4D
Deuteranopia (green-blind)
#70694A
Tritanopia (blue-blind)
#BF063A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d4d;
/* rgb */ color: rgb(175, 45, 77);
/* oklch */ color: oklch(50.8% 0.166 11.3);
Tailwind
colors: {
  custom: {
    50: '#cd717e',
    500: '#af2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #af2d4d;
$custom-light: #cd717e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d4d",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 345.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.16615,
    "h": 11.3
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#AF2D4D
secondary
#73C5B1
accent
#E2BC46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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