#AF2C38#AF2C38

#AF2C38 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.167 H 20.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2C38
RGBrgb(175, 44, 56)
HSLhsl(355, 60%, 43%)
HSVhsv(355, 75%, 69%)
CMYKcmyk(0%, 74.9%, 68%, 31.4%)
CIE-LABlab(39.92, 52.82, 25.34)
CIE-LCHlch(39.92, 58.59, 25.63°)
OKLaboklab(50.26% 0.1557 0.0595)
OKLCHoklch(50.26% 0.167 20.9)
XYZxyz(19.2958, 11.2038, 4.8871)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C38 #2CAFA3
analogous
#AF2C79 #AF2C38 #AF622C
triadic
#AF2C38 #38AF2C #2C38AF
tetradic
#AF2C38 #79AF2C #2CAFA3 #622CAF
square
#AF2C38 #79AF2C #2CAFA3 #622CAF
split-complementary
#AF2C38 #2CAF62 #2C79AF
monochromatic
#4D1319 #7E2028 #AF2C38 #D14754 #DD7882

Accessibility & contrast

On white

6.48
#AF2C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2C38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C38
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C38#FFFFFF#000000##FFFFFF
##AF2C381.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C37
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c38;
/* rgb */ color: rgb(175, 44, 56);
/* oklch */ color: oklch(50.3% 0.167 20.9);
Tailwind
colors: {
  custom: {
    50: '#cf706e',
    500: '#af2c38',
    950: '#000000',
  },
}
SCSS
$custom: #af2c38;
$custom-light: #cf706e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c38",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 56
  },
  "hsl": {
    "h": 354.504,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.16671,
    "h": 20.9
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#AF2C38
secondary
#72C5BD
accent
#E3D445
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2C38

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

Preview Lab → · Contrast checker → · Palette generator →

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