#AF2C46#AF2C46

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

Color values

HEX#AF2C46
RGBrgb(175, 44, 70)
HSLhsl(348, 60%, 43%)
HSVhsv(348, 75%, 69%)
CMYKcmyk(0%, 74.9%, 60%, 31.4%)
CIE-LABlab(40.18, 53.68, 16.94)
CIE-LCHlch(40.18, 56.29, 17.51°)
OKLaboklab(50.54% 0.1613 0.0417)
OKLCHoklch(50.54% 0.167 14.5)
XYZxyz(19.6873, 11.3604, 6.9493)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C46 #2CAF95
analogous
#AF2C87 #AF2C46 #AF542C
triadic
#AF2C46 #46AF2C #2C46AF
tetradic
#AF2C46 #87AF2C #2CAF95 #542CAF
square
#AF2C46 #87AF2C #2CAF95 #542CAF
split-complementary
#AF2C46 #2CAF54 #2C87AF
monochromatic
#4D131F #7E2032 #AF2C46 #D14763 #DD788C

Accessibility & contrast

On white

6.42
#AF2C46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2C46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C46
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C46#FFFFFF#000000##FFFFFF
##AF2C461.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D46
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c46;
/* rgb */ color: rgb(175, 44, 70);
/* oklch */ color: oklch(50.5% 0.167 14.5);
Tailwind
colors: {
  custom: {
    50: '#ce7079',
    500: '#af2c46',
    950: '#000000',
  },
}
SCSS
$custom: #af2c46;
$custom-light: #ce7079;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c46",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 348.092,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.16657,
    "h": 14.5
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#AF2C46
secondary
#72C5B5
accent
#E3C445
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2C46

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

Preview Lab → · Contrast checker → · Palette generator →

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