#AF2C28#AF2C28

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

Color values

HEX#AF2C28
RGBrgb(175, 44, 40)
HSLhsl(2, 63%, 42%)
HSVhsv(2, 77%, 69%)
CMYKcmyk(0%, 74.9%, 77.1%, 31.4%)
CIE-LABlab(39.70, 52.09, 34.67)
CIE-LCHlch(39.70, 62.57, 33.65°)
OKLaboklab(50.03% 0.1499 0.0767)
OKLCHoklch(50.03% 0.168 27.1)
XYZxyz(18.9651, 11.0715, 3.1455)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C28 #28ABAF
analogous
#AF2867 #AF2C28 #AF7028
triadic
#AF2C28 #28AF2C #2C28AF
tetradic
#AF2C28 #67AF28 #28ABAF #7028AF
square
#AF2C28 #67AF28 #28ABAF #7028AF
split-complementary
#AF2C28 #28AF70 #2867AF
monochromatic
#4B1311 #7D1F1D #AF2C28 #D44541 #DF7673

Accessibility & contrast

On white

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

On black

3.21
#AF2C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2C28#FFFFFF#000000##FFFFFF
##AF2C281.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2c28;
/* rgb */ color: rgb(175, 44, 40);
/* oklch */ color: oklch(50.0% 0.168 27.1);
Tailwind
colors: {
  custom: {
    50: '#d07062',
    500: '#af2c28',
    950: '#000000',
  },
}
SCSS
$custom: #af2c28;
$custom-light: #d07062;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c28",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 40
  },
  "hsl": {
    "h": 1.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.16839,
    "h": 27.1
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#AF2C28
secondary
#6DC3C6
accent
#E1E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2C28

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

Preview Lab → · Contrast checker → · Palette generator →

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