#AF2C45#AF2C45

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

Color values

HEX#AF2C45
RGBrgb(175, 44, 69)
HSLhsl(349, 60%, 43%)
HSVhsv(349, 75%, 69%)
CMYKcmyk(0%, 74.9%, 60.6%, 31.4%)
CIE-LABlab(40.16, 53.61, 17.54)
CIE-LCHlch(40.16, 56.41, 18.12°)
OKLaboklab(50.51% 0.1609 0.043)
OKLCHoklch(50.51% 0.167 15)
XYZxyz(19.6560, 11.3479, 6.7844)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C45 #2CAF96
analogous
#AF2C86 #AF2C45 #AF552C
triadic
#AF2C45 #45AF2C #2C45AF
tetradic
#AF2C45 #86AF2C #2CAF96 #552CAF
square
#AF2C45 #86AF2C #2CAF96 #552CAF
split-complementary
#AF2C45 #2CAF55 #2C86AF
monochromatic
#4D131E #7E2032 #AF2C45 #D14762 #DD788C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2C45#FFFFFF#000000##FFFFFF
##AF2C451.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)
#504D45
Deuteranopia (green-blind)
#716842
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c45;
/* rgb */ color: rgb(175, 44, 69);
/* oklch */ color: oklch(50.5% 0.167 15.0);
Tailwind
colors: {
  custom: {
    50: '#ce7078',
    500: '#af2c45',
    950: '#000000',
  },
}
SCSS
$custom: #af2c45;
$custom-light: #ce7078;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c45",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 69
  },
  "hsl": {
    "h": 348.55,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.16652,
    "h": 15
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#AF2C45
secondary
#72C5B5
accent
#E3C545
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2C45

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

Preview Lab → · Contrast checker → · Palette generator →

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