#AF2A3F#AF2A3F

#AF2A3F is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.168 H 17.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2A3F
RGBrgb(175, 42, 63)
HSLhsl(351, 61%, 43%)
HSVhsv(351, 76%, 69%)
CMYKcmyk(0%, 76%, 64%, 31.4%)
CIE-LABlab(39.80, 53.90, 20.83)
CIE-LCHlch(39.80, 57.79, 21.13°)
OKLaboklab(50.21% 0.1607 0.0501)
OKLCHoklch(50.21% 0.168 17.3)
XYZxyz(19.4064, 11.1317, 5.8284)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A3F #2AAF9A
analogous
#AF2A82 #AF2A3F #AF572A
triadic
#AF2A3F #3FAF2A #2A3FAF
tetradic
#AF2A3F #82AF2A #2AAF9A #572AAF
square
#AF2A3F #82AF2A #2AAF9A #572AAF
split-complementary
#AF2A3F #2AAF57 #2A82AF
monochromatic
#4C121B #7E1E2D #AF2A3F #D2445A #DE7586

Accessibility & contrast

On white

6.51
#AF2A3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2A3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A3F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A3F#FFFFFF#000000##FFFFFF
##AF2A3F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3F
Deuteranopia (green-blind)
#71683B
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a3f;
/* rgb */ color: rgb(175, 42, 63);
/* oklch */ color: oklch(50.2% 0.168 17.3);
Tailwind
colors: {
  custom: {
    50: '#ce6f73',
    500: '#af2a3f',
    950: '#000000',
  },
}
SCSS
$custom: #af2a3f;
$custom-light: #ce6f73;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a3f",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 350.526,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.16829,
    "h": 17.3
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#AF2A3F
secondary
#6FC6B8
accent
#E4CB43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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