#AF2846#AF2846

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

Color values

HEX#AF2846
RGBrgb(175, 40, 70)
HSLhsl(347, 63%, 42%)
HSVhsv(347, 77%, 69%)
CMYKcmyk(0%, 77.1%, 60%, 31.4%)
CIE-LABlab(39.71, 55.00, 16.31)
CIE-LCHlch(39.71, 57.37, 16.51°)
OKLaboklab(50.19% 0.1655 0.0402)
OKLCHoklch(50.19% 0.17 13.6)
XYZxyz(19.5455, 11.0766, 6.9020)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2846 #28AF91
analogous
#AF2889 #AF2846 #AF4E28
triadic
#AF2846 #46AF28 #2846AF
tetradic
#AF2846 #89AF28 #28AF91 #4E28AF
square
#AF2846 #89AF28 #28AF91 #4E28AF
split-complementary
#AF2846 #28AF4E #2889AF
monochromatic
#4B111E #7D1D32 #AF2846 #D44161 #DF738B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2846#FFFFFF#000000##FFFFFF
##AF28461.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)
#4D4C46
Deuteranopia (green-blind)
#706842
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2846;
/* rgb */ color: rgb(175, 40, 70);
/* oklch */ color: oklch(50.2% 0.170 13.6);
Tailwind
colors: {
  custom: {
    50: '#ce6f79',
    500: '#af2846',
    950: '#000000',
  },
}
SCSS
$custom: #af2846;
$custom-light: #ce6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2846",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 346.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.17033,
    "h": 13.6
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#AF2846
secondary
#6DC6B2
accent
#E6C142
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2846

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

Preview Lab → · Contrast checker → · Palette generator →

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