#AF3239#AF3239

#AF3239 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.161 H 22.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF3239
RGBrgb(175, 50, 57)
HSLhsl(357, 56%, 44%)
HSVhsv(357, 71%, 69%)
CMYKcmyk(0%, 71.4%, 67.4%, 31.4%)
CIE-LABlab(40.72, 50.70, 25.72)
CIE-LCHlch(40.72, 56.85, 26.90°)
OKLaboklab(50.86% 0.1492 0.0605)
OKLCHoklch(50.86% 0.161 22.1)
XYZxyz(19.5604, 11.6934, 5.0972)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3239 #32AFA8
analogous
#AF3278 #AF3239 #AF6A32
triadic
#AF3239 #39AF32 #3239AF
tetradic
#AF3239 #78AF32 #32AFA8 #6A32AF
square
#AF3239 #78AF32 #32AFA8 #6A32AF
split-complementary
#AF3239 #32AF6A #3278AF
monochromatic
#50171A #7F2429 #AF3239 #CD5158 #DB8186

Accessibility & contrast

On white

6.29
#AF3239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF3239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3239
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3239#FFFFFF#000000##FFFFFF
##AF32391.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F38
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#C00736
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3239;
/* rgb */ color: rgb(175, 50, 57);
/* oklch */ color: oklch(50.9% 0.161 22.1);
Tailwind
colors: {
  custom: {
    50: '#ce736f',
    500: '#af3239',
    950: '#000000',
  },
}
SCSS
$custom: #af3239;
$custom-light: #ce736f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3239",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 356.64,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.16097,
    "h": 22.1
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#AF3239
secondary
#79C4C0
accent
#DFD649
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF3239

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

Preview Lab → · Contrast checker → · Palette generator →

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