#AF2940#AF2940

#AF2940 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.169 H 16.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AF2940
RGBrgb(175, 41, 64)
HSLhsl(350, 62%, 42%)
HSVhsv(350, 77%, 69%)
CMYKcmyk(0%, 76.6%, 63.4%, 31.4%)
CIE-LABlab(39.70, 54.29, 20.08)
CIE-LCHlch(39.70, 57.88, 20.30°)
OKLaboklab(50.14% 0.1621 0.0485)
OKLCHoklch(50.14% 0.169 16.6)
XYZxyz(19.3996, 11.0729, 5.9653)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2940 #29AF98
analogous
#AF2983 #AF2940 #AF5529
triadic
#AF2940 #40AF29 #2940AF
tetradic
#AF2940 #83AF29 #29AF98 #5529AF
square
#AF2940 #83AF29 #29AF98 #5529AF
split-complementary
#AF2940 #29AF55 #2983AF
monochromatic
#4C121C #7D1D2E #AF2940 #D3425B #DE7486

Accessibility & contrast

On white

6.53
#AF2940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2940
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2940#FFFFFF#000000##FFFFFF
##AF29401.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2940;
/* rgb */ color: rgb(175, 41, 64);
/* oklch */ color: oklch(50.1% 0.169 16.6);
Tailwind
colors: {
  custom: {
    50: '#ce6f74',
    500: '#af2940',
    950: '#000000',
  },
}
SCSS
$custom: #af2940;
$custom-light: #ce6f74;
$custom-dark: #000000;
JSON
{
  "hex": "#af2940",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 349.701,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.1692,
    "h": 16.6
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#AF2940
secondary
#6EC6B7
accent
#E5C943
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2940

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

Preview Lab → · Contrast checker → · Palette generator →

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