#AF3A4C#AF3A4C

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

Color values

HEX#AF3A4C
RGBrgb(175, 58, 76)
HSLhsl(351, 50%, 46%)
HSVhsv(351, 67%, 69%)
CMYKcmyk(0%, 66.9%, 56.6%, 31.4%)
CIE-LABlab(42.25, 48.75, 15.97)
CIE-LCHlch(42.25, 51.30, 18.14°)
OKLaboklab(52.12% 0.1465 0.0397)
OKLCHoklch(52.12% 0.152 15.2)
XYZxyz(20.4986, 12.6646, 8.2012)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A4C #3AAF9D
analogous
#AF3A86 #AF3A4C #AF623A
triadic
#AF3A4C #4CAF3A #3A4CAF
tetradic
#AF3A4C #86AF3A #3AAF9D #623AAF
square
#AF3A4C #86AF3A #3AAF9D #623AAF
split-complementary
#AF3A4C #3AAF62 #3A86AF
monochromatic
#531C24 #812B38 #AF3A4C #C95D6E #D98B97

Accessibility & contrast

On white

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

On black

3.53
#AF3A4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF3A4C#FFFFFF#000000##FFFFFF
##AF3A4C1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544C
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#BF2341
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3a4c;
/* rgb */ color: rgb(175, 58, 76);
/* oklch */ color: oklch(52.1% 0.152 15.2);
Tailwind
colors: {
  custom: {
    50: '#cd777d',
    500: '#af3a4c',
    950: '#000000',
  },
}
SCSS
$custom: #af3a4c;
$custom-light: #cd777d;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a4c",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 76
  },
  "hsl": {
    "h": 350.769,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.15182,
    "h": 15.2
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#AF3A4C
secondary
#82C3B9
accent
#DAC44E
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF3A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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