#AF3146#AF3146

#AF3146 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.162 H 15.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AF3146
RGBrgb(175, 49, 70)
HSLhsl(350, 56%, 44%)
HSVhsv(350, 72%, 69%)
CMYKcmyk(0%, 72%, 60%, 31.4%)
CIE-LABlab(40.83, 51.89, 17.80)
CIE-LCHlch(40.83, 54.86, 18.93°)
OKLaboklab(51.01% 0.1555 0.0437)
OKLCHoklch(51.01% 0.162 15.7)
XYZxyz(19.8850, 11.7556, 7.0151)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3146 #31AF9A
analogous
#AF3185 #AF3146 #AF5B31
triadic
#AF3146 #46AF31 #3146AF
tetradic
#AF3146 #85AF31 #31AF9A #5B31AF
square
#AF3146 #85AF31 #31AF9A #5B31AF
split-complementary
#AF3146 #31AF5B #3185AF
monochromatic
#4F1620 #7F2433 #AF3146 #CE4F64 #DB7F8F

Accessibility & contrast

On white

6.27
#AF3146 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF3146 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3146
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3146#FFFFFF#000000##FFFFFF
##AF31461.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525046
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#C00D3A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3146;
/* rgb */ color: rgb(175, 49, 70);
/* oklch */ color: oklch(51.0% 0.162 15.7);
Tailwind
colors: {
  custom: {
    50: '#cd7379',
    500: '#af3146',
    950: '#000000',
  },
}
SCSS
$custom: #af3146;
$custom-light: #cd7379;
$custom-dark: #000000;
JSON
{
  "hex": "#af3146",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 70
  },
  "hsl": {
    "h": 350,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51014,
    "c": 0.16155,
    "h": 15.7
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#AF3146
secondary
#78C4B7
accent
#E0C648
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF3146

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

Preview Lab → · Contrast checker → · Palette generator →

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