#AF2C47#AF2C47

#AF2C47 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.167 H 14.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF2C47
RGBrgb(175, 44, 71)
HSLhsl(348, 60%, 43%)
HSVhsv(348, 75%, 69%)
CMYKcmyk(0%, 74.9%, 59.4%, 31.4%)
CIE-LABlab(40.20, 53.75, 16.34)
CIE-LCHlch(40.20, 56.17, 16.91°)
OKLaboklab(50.56% 0.1617 0.0403)
OKLCHoklch(50.56% 0.167 14)
XYZxyz(19.7192, 11.3731, 7.1169)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C47 #2CAF94
analogous
#AF2C88 #AF2C47 #AF532C
triadic
#AF2C47 #47AF2C #2C47AF
tetradic
#AF2C47 #88AF2C #2CAF94 #532CAF
square
#AF2C47 #88AF2C #2CAF94 #532CAF
split-complementary
#AF2C47 #2CAF53 #2C88AF
monochromatic
#4D131F #7E2033 #AF2C47 #D14764 #DD788D

Accessibility & contrast

On white

6.41
#AF2C47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2C47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C47
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C47#FFFFFF#000000##FFFFFF
##AF2C471.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D47
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c47;
/* rgb */ color: rgb(175, 44, 71);
/* oklch */ color: oklch(50.6% 0.167 14.0);
Tailwind
colors: {
  custom: {
    50: '#ce707a',
    500: '#af2c47',
    950: '#000000',
  },
}
SCSS
$custom: #af2c47;
$custom-light: #ce707a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c47",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 71
  },
  "hsl": {
    "h": 347.634,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.16663,
    "h": 14
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#AF2C47
secondary
#72C5B4
accent
#E3C245
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2C47

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

Preview Lab → · Contrast checker → · Palette generator →

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