#AF2E34#AF2E34

#AF2E34 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.165 H 23.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF2E34
RGBrgb(175, 46, 52)
HSLhsl(357, 58%, 43%)
HSVhsv(357, 74%, 69%)
CMYKcmyk(0%, 73.7%, 70.3%, 31.4%)
CIE-LABlab(40.11, 51.91, 28.02)
CIE-LCHlch(40.11, 58.99, 28.36°)
OKLaboklab(50.38% 0.152 0.0648)
OKLCHoklch(50.38% 0.165 23.1)
XYZxyz(19.2782, 11.3188, 4.4178)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E34 #2EAFA9
analogous
#AF2E74 #AF2E34 #AF682E
triadic
#AF2E34 #34AF2E #2E34AF
tetradic
#AF2E34 #74AF2E #2EAFA9 #682EAF
square
#AF2E34 #74AF2E #2EAFA9 #682EAF
split-complementary
#AF2E34 #2EAF68 #2E74AF
monochromatic
#4E1517 #7F2126 #AF2E34 #D04B51 #DC7B80

Accessibility & contrast

On white

6.44
#AF2E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E34
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E34#FFFFFF#000000##FFFFFF
##AF2E341.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D33
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e34;
/* rgb */ color: rgb(175, 46, 52);
/* oklch */ color: oklch(50.4% 0.165 23.1);
Tailwind
colors: {
  custom: {
    50: '#cf716b',
    500: '#af2e34',
    950: '#000000',
  },
}
SCSS
$custom: #af2e34;
$custom-light: #cf716b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e34",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 52
  },
  "hsl": {
    "h": 357.209,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.16521,
    "h": 23.1
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#AF2E34
secondary
#74C5C1
accent
#E2DA46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2E34

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

Preview Lab → · Contrast checker → · Palette generator →

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