#AF2C2A#AF2C2A

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

Color values

HEX#AF2C2A
RGBrgb(175, 44, 42)
HSLhsl(1, 61%, 43%)
HSVhsv(1, 76%, 69%)
CMYKcmyk(0%, 74.9%, 76%, 31.4%)
CIE-LABlab(39.72, 52.16, 33.54)
CIE-LCHlch(39.72, 62.01, 32.74°)
OKLaboklab(50.05% 0.1506 0.0748)
OKLCHoklch(50.05% 0.168 26.4)
XYZxyz(19.0000, 11.0854, 3.3293)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C2A #2AADAF
analogous
#AF2A6B #AF2C2A #AF6E2A
triadic
#AF2C2A #2AAF2C #2C2AAF
tetradic
#AF2C2A #6BAF2A #2AADAF #6E2AAF
square
#AF2C2A #6BAF2A #2AADAF #6E2AAF
split-complementary
#AF2C2A #2AAF6E #2A6BAF
monochromatic
#4C1312 #7E201E #AF2C2A #D24644 #DE7775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2C2A#FFFFFF#000000##FFFFFF
##AF2C2A1.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)
#534B28
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c2a;
/* rgb */ color: rgb(175, 44, 42);
/* oklch */ color: oklch(50.0% 0.168 26.4);
Tailwind
colors: {
  custom: {
    50: '#cf7064',
    500: '#af2c2a',
    950: '#000000',
  },
}
SCSS
$custom: #af2c2a;
$custom-light: #cf7064;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c2a",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 42
  },
  "hsl": {
    "h": 0.902,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.16813,
    "h": 26.4
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#AF2C2A
secondary
#6FC4C6
accent
#E2E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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