#AF3A42#AF3A42

#AF3A42 is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.9% C 0.152 H 20.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF3A42
RGBrgb(175, 58, 66)
HSLhsl(356, 50%, 46%)
HSVhsv(356, 67%, 69%)
CMYKcmyk(0%, 66.9%, 62.3%, 31.4%)
CIE-LABlab(42.06, 48.03, 21.89)
CIE-LCHlch(42.06, 52.78, 24.50°)
OKLaboklab(51.91% 0.1425 0.0528)
OKLCHoklch(51.91% 0.152 20.3)
XYZxyz(20.1776, 12.5362, 6.5104)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A42 #3AAFA7
analogous
#AF3A7D #AF3A42 #AF6C3A
triadic
#AF3A42 #42AF3A #3A42AF
tetradic
#AF3A42 #7DAF3A #3AAFA7 #6C3AAF
square
#AF3A42 #7DAF3A #3AAFA7 #6C3AAF
split-complementary
#AF3A42 #3AAF6C #3A7DAF
monochromatic
#531C1F #812B31 #AF3A42 #C95D64 #D98B90

Accessibility & contrast

On white

5.99
#AF3A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF3A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A42
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A42#FFFFFF#000000##FFFFFF
##AF3A421.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585441
Deuteranopia (green-blind)
#766C3F
Tritanopia (blue-blind)
#C01F3E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3a42;
/* rgb */ color: rgb(175, 58, 66);
/* oklch */ color: oklch(51.9% 0.152 20.3);
Tailwind
colors: {
  custom: {
    50: '#cd7776',
    500: '#af3a42',
    950: '#000000',
  },
}
SCSS
$custom: #af3a42;
$custom-light: #cd7776;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a42",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 355.897,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.15198,
    "h": 20.3
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#AF3A42
secondary
#82C3BE
accent
#DAD04E
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3A42

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

Preview Lab → · Contrast checker → · Palette generator →

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