#AF2C48#AF2C48

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

Color values

HEX#AF2C48
RGBrgb(175, 44, 72)
HSLhsl(347, 60%, 43%)
HSVhsv(347, 75%, 69%)
CMYKcmyk(0%, 74.9%, 58.9%, 31.4%)
CIE-LABlab(40.22, 53.82, 15.73)
CIE-LCHlch(40.22, 56.07, 16.30°)
OKLaboklab(50.58% 0.1621 0.0389)
OKLCHoklch(50.58% 0.167 13.5)
XYZxyz(19.7515, 11.3860, 7.2873)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C48 #2CAF93
analogous
#AF2C89 #AF2C48 #AF522C
triadic
#AF2C48 #48AF2C #2C48AF
tetradic
#AF2C48 #89AF2C #2CAF93 #522CAF
square
#AF2C48 #89AF2C #2CAF93 #522CAF
split-complementary
#AF2C48 #2CAF52 #2C89AF
monochromatic
#4D1320 #7E2034 #AF2C48 #D14765 #DD788E

Accessibility & contrast

On white

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

On black

3.28
#AF2C48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2C48#FFFFFF#000000##FFFFFF
##AF2C481.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E48
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#C00038
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c48;
/* rgb */ color: rgb(175, 44, 72);
/* oklch */ color: oklch(50.6% 0.167 13.5);
Tailwind
colors: {
  custom: {
    50: '#ce707a',
    500: '#af2c48',
    950: '#000000',
  },
}
SCSS
$custom: #af2c48;
$custom-light: #ce707a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c48",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 72
  },
  "hsl": {
    "h": 347.176,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.16669,
    "h": 13.5
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#AF2C48
secondary
#72C5B3
accent
#E3C145
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2C48

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

Preview Lab → · Contrast checker → · Palette generator →

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