#AF3140#AF3140

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

Color values

HEX#AF3140
RGBrgb(175, 49, 64)
HSLhsl(353, 56%, 44%)
HSVhsv(353, 72%, 69%)
CMYKcmyk(0%, 72%, 63.4%, 31.4%)
CIE-LABlab(40.71, 51.49, 21.38)
CIE-LCHlch(40.71, 55.75, 22.55°)
OKLaboklab(50.89% 0.1531 0.0515)
OKLCHoklch(50.89% 0.162 18.6)
XYZxyz(19.7049, 11.6836, 6.0671)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3140 #31AFA0
analogous
#AF317F #AF3140 #AF6131
triadic
#AF3140 #40AF31 #3140AF
tetradic
#AF3140 #7FAF31 #31AFA0 #6131AF
square
#AF3140 #7FAF31 #31AFA0 #6131AF
split-complementary
#AF3140 #31AF61 #317FAF
monochromatic
#4F161D #7F242F #AF3140 #CE4F5E #DB7F8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3140#FFFFFF#000000##FFFFFF
##AF31401.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)
#534F40
Deuteranopia (green-blind)
#736A3D
Tritanopia (blue-blind)
#C00837
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3140;
/* rgb */ color: rgb(175, 49, 64);
/* oklch */ color: oklch(50.9% 0.162 18.6);
Tailwind
colors: {
  custom: {
    50: '#ce7274',
    500: '#af3140',
    950: '#000000',
  },
}
SCSS
$custom: #af3140;
$custom-light: #ce7274;
$custom-dark: #000000;
JSON
{
  "hex": "#af3140",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 64
  },
  "hsl": {
    "h": 352.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.16156,
    "h": 18.6
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#AF3140
secondary
#78C4BB
accent
#E0CE48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3140

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

Preview Lab → · Contrast checker → · Palette generator →

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