#AF2949#AF2949

#AF2949 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.170 H 12.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF2949
RGBrgb(175, 41, 73)
HSLhsl(346, 62%, 42%)
HSVhsv(346, 77%, 69%)
CMYKcmyk(0%, 76.6%, 58.3%, 31.4%)
CIE-LABlab(39.89, 54.89, 14.65)
CIE-LCHlch(39.89, 56.81, 14.94°)
OKLaboklab(50.34% 0.1657 0.0364)
OKLCHoklch(50.34% 0.17 12.4)
XYZxyz(19.6767, 11.1837, 7.4246)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2949 #29AF8F
analogous
#AF298C #AF2949 #AF4C29
triadic
#AF2949 #49AF29 #2949AF
tetradic
#AF2949 #8CAF29 #29AF8F #4C29AF
square
#AF2949 #8CAF29 #29AF8F #4C29AF
split-complementary
#AF2949 #29AF4C #298CAF
monochromatic
#4C1220 #7D1D34 #AF2949 #D34265 #DE748D

Accessibility & contrast

On white

6.49
#AF2949 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2949 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2949
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2949#FFFFFF#000000##FFFFFF
##AF29491.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C49
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2949;
/* rgb */ color: rgb(175, 41, 73);
/* oklch */ color: oklch(50.3% 0.170 12.4);
Tailwind
colors: {
  custom: {
    50: '#ce6f7b',
    500: '#af2949',
    950: '#000000',
  },
}
SCSS
$custom: #af2949;
$custom-light: #ce6f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2949",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 73
  },
  "hsl": {
    "h": 345.672,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.16965,
    "h": 12.4
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#AF2949
secondary
#6EC6B1
accent
#E5BE43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2949

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

Preview Lab → · Contrast checker → · Palette generator →

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