#AF2837#AF2837

#AF2837 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 20.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF2837
RGBrgb(175, 40, 55)
HSLhsl(353, 63%, 42%)
HSVhsv(353, 77%, 69%)
CMYKcmyk(0%, 77.1%, 68.6%, 31.4%)
CIE-LABlab(39.43, 54.10, 25.35)
CIE-LCHlch(39.43, 59.74, 25.11°)
OKLaboklab(49.89% 0.1596 0.0593)
OKLCHoklch(49.89% 0.17 20.4)
XYZxyz(19.1297, 10.9103, 4.7123)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2837 #28AFA0
analogous
#AF287B #AF2837 #AF5C28
triadic
#AF2837 #37AF28 #2837AF
tetradic
#AF2837 #7BAF28 #28AFA0 #5C28AF
square
#AF2837 #7BAF28 #28AFA0 #5C28AF
split-complementary
#AF2837 #28AF5C #287BAF
monochromatic
#4B1118 #7D1D27 #AF2837 #D44151 #DF737F

Accessibility & contrast

On white

6.60
#AF2837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2837
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2837#FFFFFF#000000##FFFFFF
##AF28371.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.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: #af2837;
/* rgb */ color: rgb(175, 40, 55);
/* oklch */ color: oklch(49.9% 0.170 20.4);
Tailwind
colors: {
  custom: {
    50: '#cf6e6d',
    500: '#af2837',
    950: '#000000',
  },
}
SCSS
$custom: #af2837;
$custom-light: #cf6e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2837",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 353.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.17027,
    "h": 20.4
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#AF2837
secondary
#6DC6BC
accent
#E6D442
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2837

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

Preview Lab → · Contrast checker → · Palette generator →

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