#AF2942#AF2942

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

Color values

HEX#AF2942
RGBrgb(175, 41, 66)
HSLhsl(349, 62%, 42%)
HSVhsv(349, 77%, 69%)
CMYKcmyk(0%, 76.6%, 62.3%, 31.4%)
CIE-LABlab(39.74, 54.41, 18.87)
CIE-LCHlch(39.74, 57.59, 19.13°)
OKLaboklab(50.19% 0.1629 0.0459)
OKLCHoklch(50.19% 0.169 15.7)
XYZxyz(19.4575, 11.0961, 6.2704)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2942 #29AF96
analogous
#AF2985 #AF2942 #AF5329
triadic
#AF2942 #42AF29 #2942AF
tetradic
#AF2942 #85AF29 #29AF96 #5329AF
square
#AF2942 #85AF29 #29AF96 #5329AF
split-complementary
#AF2942 #29AF53 #2985AF
monochromatic
#4C121D #7D1D2F #AF2942 #D3425D #DE7488

Accessibility & contrast

On white

6.52
#AF2942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2942
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2942#FFFFFF#000000##FFFFFF
##AF29421.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2942;
/* rgb */ color: rgb(175, 41, 66);
/* oklch */ color: oklch(50.2% 0.169 15.7);
Tailwind
colors: {
  custom: {
    50: '#ce6f76',
    500: '#af2942',
    950: '#000000',
  },
}
SCSS
$custom: #af2942;
$custom-light: #ce6f76;
$custom-dark: #000000;
JSON
{
  "hex": "#af2942",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 66
  },
  "hsl": {
    "h": 348.806,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.16924,
    "h": 15.7
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#AF2942
secondary
#6EC6B5
accent
#E5C743
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2942

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

Preview Lab → · Contrast checker → · Palette generator →

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