#AF2E33#AF2E33

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

Color values

HEX#AF2E33
RGBrgb(175, 46, 51)
HSLhsl(358, 58%, 43%)
HSVhsv(358, 74%, 69%)
CMYKcmyk(0%, 73.7%, 70.9%, 31.4%)
CIE-LABlab(40.10, 51.86, 28.61)
CIE-LCHlch(40.10, 59.23, 28.88°)
OKLaboklab(50.37% 0.1516 0.0659)
OKLCHoklch(50.37% 0.165 23.5)
XYZxyz(19.2559, 11.3099, 4.3004)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E33 #2EAFAA
analogous
#AF2E74 #AF2E33 #AF692E
triadic
#AF2E33 #33AF2E #2E33AF
tetradic
#AF2E33 #74AF2E #2EAFAA #692EAF
square
#AF2E33 #74AF2E #2EAFAA #692EAF
split-complementary
#AF2E33 #2EAF69 #2E74AF
monochromatic
#4E1517 #7F2125 #AF2E33 #D04B50 #DC7B7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2E33#FFFFFF#000000##FFFFFF
##AF2E331.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)
#534D32
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e33;
/* rgb */ color: rgb(175, 46, 51);
/* oklch */ color: oklch(50.4% 0.165 23.5);
Tailwind
colors: {
  custom: {
    50: '#cf716a',
    500: '#af2e33',
    950: '#000000',
  },
}
SCSS
$custom: #af2e33;
$custom-light: #cf716a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e33",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 51
  },
  "hsl": {
    "h": 357.674,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.16531,
    "h": 23.5
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#AF2E33
secondary
#74C5C2
accent
#E2DC46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2E33

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

Preview Lab → · Contrast checker → · Palette generator →

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