#AF2235#AF2235

#AF2235 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 20.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AF2235
RGBrgb(175, 34, 53)
HSLhsl(352, 67%, 41%)
HSVhsv(352, 81%, 69%)
CMYKcmyk(0%, 80.6%, 69.7%, 31.4%)
CIE-LABlab(38.76, 55.80, 25.76)
CIE-LCHlch(38.76, 61.46, 24.78°)
OKLaboklab(49.38% 0.1646 0.06)
OKLCHoklch(49.38% 0.175 20)
XYZxyz(18.8960, 10.5180, 4.4027)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2235 #22AF9C
analogous
#AF227B #AF2235 #AF5522
triadic
#AF2235 #35AF22 #2235AF
tetradic
#AF2235 #7BAF22 #22AF9C #5522AF
square
#AF2235 #7BAF22 #22AF9C #5522AF
split-complementary
#AF2235 #22AF55 #227BAF
monochromatic
#490E16 #7C1825 #AF2235 #D8364C #E2697A

Accessibility & contrast

On white

6.77
#AF2235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AF2235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2235
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2235#FFFFFF#000000##FFFFFF
##AF22351.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4835
Deuteranopia (green-blind)
#706630
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2235;
/* rgb */ color: rgb(175, 34, 53);
/* oklch */ color: oklch(49.4% 0.175 20.0);
Tailwind
colors: {
  custom: {
    50: '#cf6c6c',
    500: '#af2235',
    950: '#000000',
  },
}
SCSS
$custom: #af2235;
$custom-light: #cf6c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2235",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 53
  },
  "hsl": {
    "h": 351.915,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.17518,
    "h": 20
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#AF2235
secondary
#65C8BA
accent
#EAD33D
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2235

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

Preview Lab → · Contrast checker → · Palette generator →

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