#AF2C34#AF2C34

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

Color values

HEX#AF2C34
RGBrgb(175, 44, 52)
HSLhsl(356, 60%, 43%)
HSVhsv(356, 75%, 69%)
CMYKcmyk(0%, 74.9%, 70.3%, 31.4%)
CIE-LABlab(39.86, 52.61, 27.72)
CIE-LCHlch(39.86, 59.47, 27.78°)
OKLaboklab(50.19% 0.1542 0.0641)
OKLCHoklch(50.19% 0.167 22.6)
XYZxyz(19.2019, 11.1662, 4.3924)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C34 #2CAFA7
analogous
#AF2C75 #AF2C34 #AF652C
triadic
#AF2C34 #34AF2C #2C34AF
tetradic
#AF2C34 #75AF2C #2CAFA7 #652CAF
square
#AF2C34 #75AF2C #2CAFA7 #652CAF
split-complementary
#AF2C34 #2CAF65 #2C75AF
monochromatic
#4D1317 #7E2025 #AF2C34 #D14750 #DD787E

Accessibility & contrast

On white

6.50
#AF2C34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2C34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C34
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C34#FFFFFF#000000##FFFFFF
##AF2C341.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C33
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c34;
/* rgb */ color: rgb(175, 44, 52);
/* oklch */ color: oklch(50.2% 0.167 22.6);
Tailwind
colors: {
  custom: {
    50: '#cf706b',
    500: '#af2c34',
    950: '#000000',
  },
}
SCSS
$custom: #af2c34;
$custom-light: #cf706b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c34",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 52
  },
  "hsl": {
    "h": 356.336,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.16701,
    "h": 22.6
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#AF2C34
secondary
#72C5C0
accent
#E3D945
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2C34

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

Preview Lab → · Contrast checker → · Palette generator →

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