#AF2D49#AF2D49

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

Color values

HEX#AF2D49
RGBrgb(175, 45, 73)
HSLhsl(347, 59%, 43%)
HSVhsv(347, 74%, 69%)
CMYKcmyk(0%, 74.3%, 58.3%, 31.4%)
CIE-LABlab(40.37, 53.54, 15.30)
CIE-LCHlch(40.37, 55.69, 15.95°)
OKLaboklab(50.7% 0.1614 0.038)
OKLCHoklch(50.7% 0.166 13.2)
XYZxyz(19.8221, 11.4746, 7.4731)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D49 #2DAF93
analogous
#AF2D8A #AF2D49 #AF522D
triadic
#AF2D49 #49AF2D #2D49AF
tetradic
#AF2D49 #8AAF2D #2DAF93 #522DAF
square
#AF2D49 #8AAF2D #2DAF93 #522DAF
split-complementary
#AF2D49 #2DAF52 #2D8AAF
monochromatic
#4E1420 #7E2035 #AF2D49 #D04966 #DD7A8F

Accessibility & contrast

On white

6.37
#AF2D49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2D49
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D49#FFFFFF#000000##FFFFFF
##AF2D491.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E49
Deuteranopia (green-blind)
#716946
Tritanopia (blue-blind)
#C00239
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d49;
/* rgb */ color: rgb(175, 45, 73);
/* oklch */ color: oklch(50.7% 0.166 13.2);
Tailwind
colors: {
  custom: {
    50: '#cd717b',
    500: '#af2d49',
    950: '#000000',
  },
}
SCSS
$custom: #af2d49;
$custom-light: #cd717b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d49",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 73
  },
  "hsl": {
    "h": 347.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50696,
    "c": 0.16578,
    "h": 13.2
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#AF2D49
secondary
#73C5B3
accent
#E2C146
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2D49

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

Preview Lab → · Contrast checker → · Palette generator →

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