#AF2946#AF2946

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

Color values

HEX#AF2946
RGBrgb(175, 41, 70)
HSLhsl(347, 62%, 42%)
HSVhsv(347, 77%, 69%)
CMYKcmyk(0%, 76.6%, 60%, 31.4%)
CIE-LABlab(39.82, 54.68, 16.46)
CIE-LCHlch(39.82, 57.10, 16.75°)
OKLaboklab(50.27% 0.1645 0.0405)
OKLCHoklch(50.27% 0.169 13.8)
XYZxyz(19.5796, 11.1449, 6.9134)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2946 #29AF92
analogous
#AF2989 #AF2946 #AF4F29
triadic
#AF2946 #46AF29 #2946AF
tetradic
#AF2946 #89AF29 #29AF92 #4F29AF
square
#AF2946 #89AF29 #29AF92 #4F29AF
split-complementary
#AF2946 #29AF4F #2989AF
monochromatic
#4C121E #7D1D32 #AF2946 #D34262 #DE748B

Accessibility & contrast

On white

6.50
#AF2946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2946 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2946
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2946#FFFFFF#000000##FFFFFF
##AF29461.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C46
Deuteranopia (green-blind)
#706842
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2946;
/* rgb */ color: rgb(175, 41, 70);
/* oklch */ color: oklch(50.3% 0.169 13.8);
Tailwind
colors: {
  custom: {
    50: '#ce6f79',
    500: '#af2946',
    950: '#000000',
  },
}
SCSS
$custom: #af2946;
$custom-light: #ce6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2946",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 70
  },
  "hsl": {
    "h": 347.015,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50272,
    "c": 0.16942,
    "h": 13.8
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

primary
#AF2946
secondary
#6EC6B3
accent
#E5C243
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2946

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

Preview Lab → · Contrast checker → · Palette generator →

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