#AF2C3F#AF2C3F

#AF2C3F is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.166 H 17.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF2C3F
RGBrgb(175, 44, 63)
HSLhsl(351, 60%, 43%)
HSVhsv(351, 75%, 69%)
CMYKcmyk(0%, 74.9%, 64%, 31.4%)
CIE-LABlab(40.04, 53.22, 21.15)
CIE-LCHlch(40.04, 57.27, 21.67°)
OKLaboklab(50.39% 0.1585 0.0508)
OKLCHoklch(50.39% 0.166 17.8)
XYZxyz(19.4791, 11.2771, 5.8527)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C3F #2CAF9C
analogous
#AF2C80 #AF2C3F #AF5B2C
triadic
#AF2C3F #3FAF2C #2C3FAF
tetradic
#AF2C3F #80AF2C #2CAF9C #5B2CAF
square
#AF2C3F #80AF2C #2CAF9C #5B2CAF
split-complementary
#AF2C3F #2CAF5B #2C80AF
monochromatic
#4D131C #7E202D #AF2C3F #D1475B #DD7887

Accessibility & contrast

On white

6.45
#AF2C3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2C3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C3F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C3F#FFFFFF#000000##FFFFFF
##AF2C3F1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3F
Deuteranopia (green-blind)
#72683B
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2c3f;
/* rgb */ color: rgb(175, 44, 63);
/* oklch */ color: oklch(50.4% 0.166 17.8);
Tailwind
colors: {
  custom: {
    50: '#ce7073',
    500: '#af2c3f',
    950: '#000000',
  },
}
SCSS
$custom: #af2c3f;
$custom-light: #ce7073;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c3f",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 63
  },
  "hsl": {
    "h": 351.298,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.16644,
    "h": 17.8
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#AF2C3F
secondary
#72C5B9
accent
#E3CC45
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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