#AF2B48#AF2B48

#AF2B48 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.168 H 13.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF2B48
RGBrgb(175, 43, 72)
HSLhsl(347, 61%, 43%)
HSVhsv(347, 75%, 69%)
CMYKcmyk(0%, 75.4%, 58.9%, 31.4%)
CIE-LABlab(40.10, 54.16, 15.57)
CIE-LCHlch(40.10, 56.35, 16.04°)
OKLaboklab(50.49% 0.1632 0.0386)
OKLCHoklch(50.49% 0.168 13.3)
XYZxyz(19.7147, 11.3124, 7.2750)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B48 #2BAF92
analogous
#AF2B8A #AF2B48 #AF502B
triadic
#AF2B48 #48AF2B #2B48AF
tetradic
#AF2B48 #8AAF2B #2BAF92 #502BAF
square
#AF2B48 #8AAF2B #2BAF92 #502BAF
split-complementary
#AF2B48 #2BAF50 #2B8AAF
monochromatic
#4D1320 #7E1F34 #AF2B48 #D14664 #DE778D

Accessibility & contrast

On white

6.44
#AF2B48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2B48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B48
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B48#FFFFFF#000000##FFFFFF
##AF2B481.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D48
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2b48;
/* rgb */ color: rgb(175, 43, 72);
/* oklch */ color: oklch(50.5% 0.168 13.3);
Tailwind
colors: {
  custom: {
    50: '#ce707a',
    500: '#af2b48',
    950: '#000000',
  },
}
SCSS
$custom: #af2b48;
$custom-light: #ce707a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b48",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 72
  },
  "hsl": {
    "h": 346.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.16766,
    "h": 13.3
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#AF2B48
secondary
#70C5B3
accent
#E4C144
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2B48

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

Preview Lab → · Contrast checker → · Palette generator →

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