#AF2847#AF2847

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

Color values

HEX#AF2847
RGBrgb(175, 40, 71)
HSLhsl(346, 63%, 42%)
HSVhsv(346, 77%, 69%)
CMYKcmyk(0%, 77.1%, 59.4%, 31.4%)
CIE-LABlab(39.73, 55.07, 15.70)
CIE-LCHlch(39.73, 57.26, 15.91°)
OKLaboklab(50.21% 0.1659 0.0388)
OKLCHoklch(50.21% 0.17 13.2)
XYZxyz(19.5773, 11.0893, 7.0696)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2847 #28AF90
analogous
#AF288B #AF2847 #AF4C28
triadic
#AF2847 #47AF28 #2847AF
tetradic
#AF2847 #8BAF28 #28AF90 #4C28AF
square
#AF2847 #8BAF28 #28AF90 #4C28AF
split-complementary
#AF2847 #28AF4C #288BAF
monochromatic
#4B111F #7D1D33 #AF2847 #D44162 #DF738B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2847#FFFFFF#000000##FFFFFF
##AF28471.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2847;
/* rgb */ color: rgb(175, 40, 71);
/* oklch */ color: oklch(50.2% 0.170 13.2);
Tailwind
colors: {
  custom: {
    50: '#ce6f79',
    500: '#af2847',
    950: '#000000',
  },
}
SCSS
$custom: #af2847;
$custom-light: #ce6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2847",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 346.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.17041,
    "h": 13.2
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2847

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

Preview Lab → · Contrast checker → · Palette generator →

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