#AF1C40#AF1C40

#AF1C40 is a mid, vivid red. Relative luminance 0.103; OKLCH L 49.2% C 0.180 H 14.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AF1C40
RGBrgb(175, 28, 64)
HSLhsl(345, 72%, 40%)
HSVhsv(345, 84%, 69%)
CMYKcmyk(0%, 84%, 63.4%, 31.4%)
CIE-LABlab(38.41, 57.95, 18.38)
CIE-LCHlch(38.41, 60.80, 17.60°)
OKLaboklab(49.19% 0.1739 0.0446)
OKLCHoklch(49.19% 0.18 14.4)
XYZxyz(19.0219, 10.3176, 5.8394)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1C40 #1CAF8B
analogous
#AF1C8A #AF1C40 #AF411C
triadic
#AF1C40 #40AF1C #1C40AF
tetradic
#AF1C40 #8AAF1C #1CAF8B #411CAF
square
#AF1C40 #8AAF1C #1CAF8B #411CAF
split-complementary
#AF1C40 #1CAF41 #1C8AAF
monochromatic
#450B19 #7A142D #AF1C40 #DD2B57 #E66081

Accessibility & contrast

On white

6.86
#AF1C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AF1C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1C40
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1C40#FFFFFF#000000##FFFFFF
##AF1C401.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#C0002C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #af1c40;
/* rgb */ color: rgb(175, 28, 64);
/* oklch */ color: oklch(49.2% 0.180 14.4);
Tailwind
colors: {
  custom: {
    50: '#cf6a74',
    500: '#af1c40',
    950: '#000000',
  },
}
SCSS
$custom: #af1c40;
$custom-light: #cf6a74;
$custom-dark: #000000;
JSON
{
  "hex": "#af1c40",
  "rgb": {
    "r": 175,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 345.306,
    "s": 72.414,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.17954,
    "h": 14.4
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#AF1C40
secondary
#5DCAAF
accent
#EFC239
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150708
muted
#837A7B

Preview Lab

Preview with #AF1C40

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

Preview Lab → · Contrast checker → · Palette generator →

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