#AF3440#AF3440

#AF3440 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.158 H 19.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF3440
RGBrgb(175, 52, 64)
HSLhsl(354, 54%, 45%)
HSVhsv(354, 70%, 69%)
CMYKcmyk(0%, 70.3%, 63.4%, 31.4%)
CIE-LABlab(41.13, 50.34, 21.92)
CIE-LCHlch(41.13, 54.91, 23.53°)
OKLaboklab(51.2% 0.1495 0.0527)
OKLCHoklch(51.2% 0.158 19.4)
XYZxyz(19.8346, 11.9429, 6.1103)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3440 #34AFA3
analogous
#AF347E #AF3440 #AF6534
triadic
#AF3440 #40AF34 #3440AF
tetradic
#AF3440 #7EAF34 #34AFA3 #6534AF
square
#AF3440 #7EAF34 #34AFA3 #6534AF
split-complementary
#AF3440 #34AF65 #347EAF
monochromatic
#51181D #80262F #AF3440 #CC5460 #DA838C

Accessibility & contrast

On white

6.20
#AF3440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF3440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3440
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3440#FFFFFF#000000##FFFFFF
##AF34401.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555040
Deuteranopia (green-blind)
#746B3D
Tritanopia (blue-blind)
#C01239
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3440;
/* rgb */ color: rgb(175, 52, 64);
/* oklch */ color: oklch(51.2% 0.158 19.4);
Tailwind
colors: {
  custom: {
    50: '#ce7474',
    500: '#af3440',
    950: '#000000',
  },
}
SCSS
$custom: #af3440;
$custom-light: #ce7474;
$custom-dark: #000000;
JSON
{
  "hex": "#af3440",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 64
  },
  "hsl": {
    "h": 354.146,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.15849,
    "h": 19.4
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#AF3440
secondary
#7BC4BD
accent
#DECF4A
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #AF3440

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

Preview Lab → · Contrast checker → · Palette generator →

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