#AF2937#AF2937

#AF2937 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 20.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AF2937
RGBrgb(175, 41, 55)
HSLhsl(354, 62%, 42%)
HSVhsv(354, 77%, 69%)
CMYKcmyk(0%, 76.6%, 68.6%, 31.4%)
CIE-LABlab(39.54, 53.78, 25.49)
CIE-LCHlch(39.54, 59.51, 25.36°)
OKLaboklab(49.98% 0.1586 0.0597)
OKLCHoklch(49.98% 0.169 20.6)
XYZxyz(19.1638, 10.9786, 4.7237)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2937 #29AFA1
analogous
#AF297A #AF2937 #AF5E29
triadic
#AF2937 #37AF29 #2937AF
tetradic
#AF2937 #7AAF29 #29AFA1 #5E29AF
square
#AF2937 #7AAF29 #29AFA1 #5E29AF
split-complementary
#AF2937 #29AF5E #297AAF
monochromatic
#4C1218 #7D1D27 #AF2937 #D34251 #DE747F

Accessibility & contrast

On white

6.57
#AF2937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF2937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2937
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2937#FFFFFF#000000##FFFFFF
##AF29371.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B36
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2937;
/* rgb */ color: rgb(175, 41, 55);
/* oklch */ color: oklch(50.0% 0.169 20.6);
Tailwind
colors: {
  custom: {
    50: '#cf6f6d',
    500: '#af2937',
    950: '#000000',
  },
}
SCSS
$custom: #af2937;
$custom-light: #cf6f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2937",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 55
  },
  "hsl": {
    "h": 353.731,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.16942,
    "h": 20.6
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#AF2937
secondary
#6EC6BD
accent
#E5D443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2937

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

Preview Lab → · Contrast checker → · Palette generator →

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