#AF2E2C#AF2E2C

#AF2E2C is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 26.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF2E2C
RGBrgb(175, 46, 44)
HSLhsl(1, 60%, 43%)
HSVhsv(1, 75%, 69%)
CMYKcmyk(0%, 73.7%, 74.9%, 31.4%)
CIE-LABlab(40.00, 51.54, 32.68)
CIE-LCHlch(40.00, 61.03, 32.37°)
OKLaboklab(50.27% 0.149 0.0734)
OKLCHoklch(50.27% 0.166 26.2)
XYZxyz(19.1130, 11.2527, 3.5480)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E2C #2CADAF
analogous
#AF2C6B #AF2E2C #AF6F2C
triadic
#AF2E2C #2CAF2E #2E2CAF
tetradic
#AF2E2C #6BAF2C #2CADAF #6F2CAF
square
#AF2E2C #6BAF2C #2CADAF #6F2CAF
split-complementary
#AF2E2C #2CAF6F #2C6BAF
monochromatic
#4D1413 #7E2120 #AF2E2C #D14947 #DD7A78

Accessibility & contrast

On white

6.46
#AF2E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E2C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E2C#FFFFFF#000000##FFFFFF
##AF2E2C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C2A
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e2c;
/* rgb */ color: rgb(175, 46, 44);
/* oklch */ color: oklch(50.3% 0.166 26.2);
Tailwind
colors: {
  custom: {
    50: '#cf7165',
    500: '#af2e2c',
    950: '#000000',
  },
}
SCSS
$custom: #af2e2c;
$custom-light: #cf7165;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e2c",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 0.916,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.16613,
    "h": 26.2
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#AF2E2C
secondary
#72C4C5
accent
#E1E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AF2E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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