#AF2C2D#AF2C2D

#AF2C2D is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 25.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF2C2D
RGBrgb(175, 44, 45)
HSLhsl(360, 60%, 43%)
HSVhsv(360, 75%, 69%)
CMYKcmyk(0%, 74.9%, 74.3%, 31.4%)
CIE-LABlab(39.76, 52.29, 31.81)
CIE-LCHlch(39.76, 61.21, 31.32°)
OKLaboklab(50.09% 0.1516 0.0717)
OKLCHoklch(50.09% 0.168 25.3)
XYZxyz(19.0557, 11.1077, 3.6227)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C2D #2CAFAE
analogous
#AF2C6E #AF2C2D #AF6C2C
triadic
#AF2C2D #2DAF2C #2C2DAF
tetradic
#AF2C2D #6EAF2C #2CAFAE #6C2CAF
square
#AF2C2D #6EAF2C #2CAFAE #6C2CAF
split-complementary
#AF2C2D #2CAF6C #2C6EAF
monochromatic
#4D1314 #7E2020 #AF2C2D #D14748 #DD7879

Accessibility & contrast

On white

6.52
#AF2C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C2D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C2D#FFFFFF#000000##FFFFFF
##AF2C2D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2C
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c2d;
/* rgb */ color: rgb(175, 44, 45);
/* oklch */ color: oklch(50.1% 0.168 25.3);
Tailwind
colors: {
  custom: {
    50: '#cf7066',
    500: '#af2c2d',
    950: '#000000',
  },
}
SCSS
$custom: #af2c2d;
$custom-light: #cf7066;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c2d",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 45
  },
  "hsl": {
    "h": 359.542,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.16775,
    "h": 25.3
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#AF2C2D
secondary
#72C5C4
accent
#E3E245
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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