#AF2D48#AF2D48

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

Color values

HEX#AF2D48
RGBrgb(175, 45, 72)
HSLhsl(348, 59%, 43%)
HSVhsv(348, 74%, 69%)
CMYKcmyk(0%, 74.3%, 58.9%, 31.4%)
CIE-LABlab(40.35, 53.47, 15.90)
CIE-LCHlch(40.35, 55.79, 16.56°)
OKLaboklab(50.67% 0.161 0.0393)
OKLCHoklch(50.67% 0.166 13.7)
XYZxyz(19.7892, 11.4614, 7.2999)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D48 #2DAF94
analogous
#AF2D89 #AF2D48 #AF532D
triadic
#AF2D48 #48AF2D #2D48AF
tetradic
#AF2D48 #89AF2D #2DAF94 #532DAF
square
#AF2D48 #89AF2D #2DAF94 #532DAF
split-complementary
#AF2D48 #2DAF53 #2D89AF
monochromatic
#4E1420 #7E2034 #AF2D48 #D04965 #DD7A8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2D48#FFFFFF#000000##FFFFFF
##AF2D481.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)
#504E48
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#C00138
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d48;
/* rgb */ color: rgb(175, 45, 72);
/* oklch */ color: oklch(50.7% 0.166 13.7);
Tailwind
colors: {
  custom: {
    50: '#ce717a',
    500: '#af2d48',
    950: '#000000',
  },
}
SCSS
$custom: #af2d48;
$custom-light: #ce717a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d48",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 72
  },
  "hsl": {
    "h": 347.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.16571,
    "h": 13.7
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2D48

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

Preview Lab → · Contrast checker → · Palette generator →

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