#AF3A4E#AF3A4E

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

Color values

HEX#AF3A4E
RGBrgb(175, 58, 78)
HSLhsl(350, 50%, 46%)
HSVhsv(350, 67%, 69%)
CMYKcmyk(0%, 66.9%, 55.4%, 31.4%)
CIE-LABlab(42.30, 48.91, 14.79)
CIE-LCHlch(42.30, 51.10, 16.83°)
OKLaboklab(52.16% 0.1473 0.037)
OKLCHoklch(52.16% 0.152 14.1)
XYZxyz(20.5692, 12.6929, 8.5731)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A4E #3AAF9B
analogous
#AF3A88 #AF3A4E #AF613A
triadic
#AF3A4E #4EAF3A #3A4EAF
tetradic
#AF3A4E #88AF3A #3AAF9B #613AAF
square
#AF3A4E #88AF3A #3AAF9B #613AAF
split-complementary
#AF3A4E #3AAF61 #3A88AF
monochromatic
#531C25 #812B3A #AF3A4E #C95D6F #D98B98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3A4E#FFFFFF#000000##FFFFFF
##AF3A4E1.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)
#57554E
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#BF2342
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3a4e;
/* rgb */ color: rgb(175, 58, 78);
/* oklch */ color: oklch(52.2% 0.152 14.1);
Tailwind
colors: {
  custom: {
    50: '#cd777f',
    500: '#af3a4e',
    950: '#000000',
  },
}
SCSS
$custom: #af3a4e;
$custom-light: #cd777f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a4e",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 349.744,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.1519,
    "h": 14.1
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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