#AF2947#AF2947

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

Color values

HEX#AF2947
RGBrgb(175, 41, 71)
HSLhsl(347, 62%, 42%)
HSVhsv(347, 77%, 69%)
CMYKcmyk(0%, 76.6%, 59.4%, 31.4%)
CIE-LABlab(39.84, 54.75, 15.86)
CIE-LCHlch(39.84, 57.00, 16.15°)
OKLaboklab(50.29% 0.1649 0.0392)
OKLCHoklch(50.29% 0.169 13.4)
XYZxyz(19.6114, 11.1576, 7.0810)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2947 #29AF91
analogous
#AF298A #AF2947 #AF4E29
triadic
#AF2947 #47AF29 #2947AF
tetradic
#AF2947 #8AAF29 #29AF91 #4E29AF
square
#AF2947 #8AAF29 #29AF91 #4E29AF
split-complementary
#AF2947 #29AF4E #298AAF
monochromatic
#4C121F #7D1D33 #AF2947 #D34263 #DE748C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2947#FFFFFF#000000##FFFFFF
##AF29471.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)
#4E4C47
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2947;
/* rgb */ color: rgb(175, 41, 71);
/* oklch */ color: oklch(50.3% 0.169 13.4);
Tailwind
colors: {
  custom: {
    50: '#ce6f79',
    500: '#af2947',
    950: '#000000',
  },
}
SCSS
$custom: #af2947;
$custom-light: #ce6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2947",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 346.567,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.16949,
    "h": 13.4
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#AF2947
secondary
#6EC6B2
accent
#E5C143
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2947

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

Preview Lab → · Contrast checker → · Palette generator →

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