#AF2C29#AF2C29

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

Color values

HEX#AF2C29
RGBrgb(175, 44, 41)
HSLhsl(1, 62%, 42%)
HSVhsv(1, 77%, 69%)
CMYKcmyk(0%, 74.9%, 76.6%, 31.4%)
CIE-LABlab(39.71, 52.12, 34.10)
CIE-LCHlch(39.71, 62.29, 33.20°)
OKLaboklab(50.04% 0.1503 0.0757)
OKLCHoklch(50.04% 0.168 26.7)
XYZxyz(18.9823, 11.0784, 3.2362)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C29 #29ACAF
analogous
#AF2969 #AF2C29 #AF6F29
triadic
#AF2C29 #29AF2C #2C29AF
tetradic
#AF2C29 #69AF29 #29ACAF #6F29AF
square
#AF2C29 #69AF29 #29ACAF #6F29AF
split-complementary
#AF2C29 #29AF6F #2969AF
monochromatic
#4C1312 #7D201D #AF2C29 #D34642 #DE7674

Accessibility & contrast

On white

6.53
#AF2C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C29
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C29#FFFFFF#000000##FFFFFF
##AF2C291.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c29;
/* rgb */ color: rgb(175, 44, 41);
/* oklch */ color: oklch(50.0% 0.168 26.7);
Tailwind
colors: {
  custom: {
    50: '#d07063',
    500: '#af2c29',
    950: '#000000',
  },
}
SCSS
$custom: #af2c29;
$custom-light: #d07063;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c29",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 41
  },
  "hsl": {
    "h": 1.343,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.16826,
    "h": 26.7
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#AF2C29
secondary
#6EC4C6
accent
#E1E543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2C29

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

Preview Lab → · Contrast checker → · Palette generator →

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