#AF3235#AF3235

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

Color values

HEX#AF3235
RGBrgb(175, 50, 53)
HSLhsl(359, 56%, 44%)
HSVhsv(359, 71%, 69%)
CMYKcmyk(0%, 71.4%, 69.7%, 31.4%)
CIE-LABlab(40.66, 50.48, 28.08)
CIE-LCHlch(40.66, 57.76, 29.08°)
OKLaboklab(50.8% 0.1477 0.0651)
OKLCHoklch(50.8% 0.161 23.8)
XYZxyz(19.4645, 11.6551, 4.5922)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3235 #32AFAC
analogous
#AF3274 #AF3235 #AF6E32
triadic
#AF3235 #35AF32 #3235AF
tetradic
#AF3235 #74AF32 #32AFAC #6E32AF
square
#AF3235 #74AF32 #32AFAC #6E32AF
split-complementary
#AF3235 #32AF6E #3274AF
monochromatic
#501718 #7F2427 #AF3235 #CD5154 #DB8183

Accessibility & contrast

On white

6.31
#AF3235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF3235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3235
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3235#FFFFFF#000000##FFFFFF
##AF32351.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F34
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#C00434
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3235;
/* rgb */ color: rgb(175, 50, 53);
/* oklch */ color: oklch(50.8% 0.161 23.8);
Tailwind
colors: {
  custom: {
    50: '#cf736c',
    500: '#af3235',
    950: '#000000',
  },
}
SCSS
$custom: #af3235;
$custom-light: #cf736c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3235",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 53
  },
  "hsl": {
    "h": 358.56,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.16136,
    "h": 23.8
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#AF3235
secondary
#79C4C2
accent
#DFDB49
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF3235

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

Preview Lab → · Contrast checker → · Palette generator →

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