#AF2C40#AF2C40

#AF2C40 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.166 H 17.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF2C40
RGBrgb(175, 44, 64)
HSLhsl(351, 60%, 43%)
HSVhsv(351, 75%, 69%)
CMYKcmyk(0%, 74.9%, 63.4%, 31.4%)
CIE-LABlab(40.06, 53.29, 20.55)
CIE-LCHlch(40.06, 57.11, 21.09°)
OKLaboklab(50.41% 0.1589 0.0495)
OKLCHoklch(50.41% 0.166 17.3)
XYZxyz(19.5073, 11.2884, 6.0012)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C40 #2CAF9B
analogous
#AF2C81 #AF2C40 #AF5A2C
triadic
#AF2C40 #40AF2C #2C40AF
tetradic
#AF2C40 #81AF2C #2CAF9B #5A2CAF
square
#AF2C40 #81AF2C #2CAF9B #5A2CAF
split-complementary
#AF2C40 #2CAF5A #2C81AF
monochromatic
#4D131C #7E202E #AF2C40 #D1475C #DD7888

Accessibility & contrast

On white

6.45
#AF2C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C40
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C40#FFFFFF#000000##FFFFFF
##AF2C401.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D40
Deuteranopia (green-blind)
#72683C
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c40;
/* rgb */ color: rgb(175, 44, 64);
/* oklch */ color: oklch(50.4% 0.166 17.3);
Tailwind
colors: {
  custom: {
    50: '#ce7074',
    500: '#af2c40',
    950: '#000000',
  },
}
SCSS
$custom: #af2c40;
$custom-light: #ce7074;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c40",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 350.84,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.16644,
    "h": 17.3
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#AF2C40
secondary
#72C5B8
accent
#E3CB45
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2C40

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

Preview Lab → · Contrast checker → · Palette generator →

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