#AF2C42#AF2C42

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

Color values

HEX#AF2C42
RGBrgb(175, 44, 66)
HSLhsl(350, 60%, 43%)
HSVhsv(350, 75%, 69%)
CMYKcmyk(0%, 74.9%, 62.3%, 31.4%)
CIE-LABlab(40.10, 53.41, 19.34)
CIE-LCHlch(40.10, 56.81, 19.91°)
OKLaboklab(50.45% 0.1597 0.047)
OKLCHoklch(50.45% 0.166 16.4)
XYZxyz(19.5653, 11.3115, 6.3063)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C42 #2CAF99
analogous
#AF2C83 #AF2C42 #AF582C
triadic
#AF2C42 #42AF2C #2C42AF
tetradic
#AF2C42 #83AF2C #2CAF99 #582CAF
square
#AF2C42 #83AF2C #2CAF99 #582CAF
split-complementary
#AF2C42 #2CAF58 #2C83AF
monochromatic
#4D131D #7E2030 #AF2C42 #D1475E #DD7889

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2C42#FFFFFF#000000##FFFFFF
##AF2C421.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)
#504D42
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c42;
/* rgb */ color: rgb(175, 44, 66);
/* oklch */ color: oklch(50.4% 0.166 16.4);
Tailwind
colors: {
  custom: {
    50: '#ce7076',
    500: '#af2c42',
    950: '#000000',
  },
}
SCSS
$custom: #af2c42;
$custom-light: #ce7076;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c42",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 349.924,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.16645,
    "h": 16.4
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#AF2C42
secondary
#72C5B7
accent
#E3C845
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2C42

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

Preview Lab → · Contrast checker → · Palette generator →

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