#AF2D47#AF2D47

#AF2D47 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.7% C 0.166 H 14.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AF2D47
RGBrgb(175, 45, 71)
HSLhsl(348, 59%, 43%)
HSVhsv(348, 74%, 69%)
CMYKcmyk(0%, 74.3%, 59.4%, 31.4%)
CIE-LABlab(40.33, 53.40, 16.50)
CIE-LCHlch(40.33, 55.89, 17.17°)
OKLaboklab(50.65% 0.1606 0.0407)
OKLCHoklch(50.65% 0.166 14.2)
XYZxyz(19.7569, 11.4485, 7.1295)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D47 #2DAF95
analogous
#AF2D88 #AF2D47 #AF542D
triadic
#AF2D47 #47AF2D #2D47AF
tetradic
#AF2D47 #88AF2D #2DAF95 #542DAF
square
#AF2D47 #88AF2D #2DAF95 #542DAF
split-complementary
#AF2D47 #2DAF54 #2D88AF
monochromatic
#4E141F #7E2033 #AF2D47 #D04964 #DD7A8D

Accessibility & contrast

On white

6.38
#AF2D47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2D47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D47
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D47#FFFFFF#000000##FFFFFF
##AF2D471.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E47
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C00038
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d47;
/* rgb */ color: rgb(175, 45, 71);
/* oklch */ color: oklch(50.7% 0.166 14.2);
Tailwind
colors: {
  custom: {
    50: '#ce717a',
    500: '#af2d47',
    950: '#000000',
  },
}
SCSS
$custom: #af2d47;
$custom-light: #ce717a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d47",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 71
  },
  "hsl": {
    "h": 348,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.16565,
    "h": 14.2
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#AF2D47
secondary
#73C5B4
accent
#E2C346
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2D47

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

Preview Lab → · Contrast checker → · Palette generator →

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