#AF3141#AF3141

#AF3141 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.162 H 18.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF3141
RGBrgb(175, 49, 65)
HSLhsl(352, 56%, 44%)
HSVhsv(352, 72%, 69%)
CMYKcmyk(0%, 72%, 62.9%, 31.4%)
CIE-LABlab(40.73, 51.55, 20.79)
CIE-LCHlch(40.73, 55.59, 21.96°)
OKLaboklab(50.91% 0.1535 0.0502)
OKLCHoklch(50.91% 0.162 18.1)
XYZxyz(19.7337, 11.6951, 6.2183)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3141 #31AF9F
analogous
#AF3180 #AF3141 #AF6031
triadic
#AF3141 #41AF31 #3141AF
tetradic
#AF3141 #80AF31 #31AF9F #6031AF
square
#AF3141 #80AF31 #31AF9F #6031AF
split-complementary
#AF3141 #31AF60 #3180AF
monochromatic
#4F161D #7F242F #AF3141 #CE4F5F #DB7F8B

Accessibility & contrast

On white

6.29
#AF3141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF3141 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3141
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3141#FFFFFF#000000##FFFFFF
##AF31411.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F41
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#C00938
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3141;
/* rgb */ color: rgb(175, 49, 65);
/* oklch */ color: oklch(50.9% 0.162 18.1);
Tailwind
colors: {
  custom: {
    50: '#ce7275',
    500: '#af3141',
    950: '#000000',
  },
}
SCSS
$custom: #af3141;
$custom-light: #ce7275;
$custom-dark: #000000;
JSON
{
  "hex": "#af3141",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 65
  },
  "hsl": {
    "h": 352.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.16154,
    "h": 18.1
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#AF3141
secondary
#78C4BA
accent
#E0CC48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3141

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

Preview Lab → · Contrast checker → · Palette generator →

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