#AF3A4D#AF3A4D

#AF3A4D is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.1% C 0.152 H 14.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF3A4D
RGBrgb(175, 58, 77)
HSLhsl(350, 50%, 46%)
HSVhsv(350, 67%, 69%)
CMYKcmyk(0%, 66.9%, 56%, 31.4%)
CIE-LABlab(42.27, 48.83, 15.38)
CIE-LCHlch(42.27, 51.20, 17.48°)
OKLaboklab(52.14% 0.1469 0.0384)
OKLCHoklch(52.14% 0.152 14.6)
XYZxyz(20.5337, 12.6786, 8.3857)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A4D #3AAF9C
analogous
#AF3A88 #AF3A4D #AF613A
triadic
#AF3A4D #4DAF3A #3A4DAF
tetradic
#AF3A4D #88AF3A #3AAF9C #613AAF
square
#AF3A4D #88AF3A #3AAF9C #613AAF
split-complementary
#AF3A4D #3AAF61 #3A88AF
monochromatic
#531C25 #812B39 #AF3A4D #C95D6F #D98B97

Accessibility & contrast

On white

5.94
#AF3A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF3A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A4D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A4D#FFFFFF#000000##FFFFFF
##AF3A4D1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544D
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#BF2342
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3a4d;
/* rgb */ color: rgb(175, 58, 77);
/* oklch */ color: oklch(52.1% 0.152 14.6);
Tailwind
colors: {
  custom: {
    50: '#cd777e',
    500: '#af3a4d',
    950: '#000000',
  },
}
SCSS
$custom: #af3a4d;
$custom-light: #cd777e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a4d",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 77
  },
  "hsl": {
    "h": 350.256,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.15186,
    "h": 14.6
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#AF3A4D
secondary
#82C3B8
accent
#DAC34E
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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