#AF2E37#AF2E37

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

Color values

HEX#AF2E37
RGBrgb(175, 46, 55)
HSLhsl(356, 58%, 43%)
HSVhsv(356, 74%, 69%)
CMYKcmyk(0%, 73.7%, 68.6%, 31.4%)
CIE-LABlab(40.16, 52.07, 26.25)
CIE-LCHlch(40.16, 58.31, 26.75°)
OKLaboklab(50.43% 0.1531 0.0614)
OKLCHoklch(50.43% 0.165 21.8)
XYZxyz(19.3479, 11.3467, 4.7850)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E37 #2EAFA6
analogous
#AF2E77 #AF2E37 #AF652E
triadic
#AF2E37 #37AF2E #2E37AF
tetradic
#AF2E37 #77AF2E #2EAFA6 #652EAF
square
#AF2E37 #77AF2E #2EAFA6 #652EAF
split-complementary
#AF2E37 #2EAF65 #2E77AF
monochromatic
#4E1519 #7F2128 #AF2E37 #D04B54 #DC7B82

Accessibility & contrast

On white

6.42
#AF2E37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2E37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E37
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E37#FFFFFF#000000##FFFFFF
##AF2E371.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D36
Deuteranopia (green-blind)
#736933
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e37;
/* rgb */ color: rgb(175, 46, 55);
/* oklch */ color: oklch(50.4% 0.165 21.8);
Tailwind
colors: {
  custom: {
    50: '#cf716d',
    500: '#af2e37',
    950: '#000000',
  },
}
SCSS
$custom: #af2e37;
$custom-light: #cf716d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e37",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 55
  },
  "hsl": {
    "h": 355.814,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.16494,
    "h": 21.8
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#AF2E37
secondary
#74C5BF
accent
#E2D746
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2E37

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

Preview Lab → · Contrast checker → · Palette generator →

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