#AF2833#AF2833

#AF2833 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 22.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AF2833
RGBrgb(175, 40, 51)
HSLhsl(355, 63%, 42%)
HSVhsv(355, 77%, 69%)
CMYKcmyk(0%, 77.1%, 70.9%, 31.4%)
CIE-LABlab(39.37, 53.90, 27.74)
CIE-LCHlch(39.37, 60.62, 27.23°)
OKLaboklab(49.82% 0.1581 0.064)
OKLCHoklch(49.82% 0.171 22)
XYZxyz(19.0377, 10.8735, 4.2277)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2833 #28AFA4
analogous
#AF2877 #AF2833 #AF6128
triadic
#AF2833 #33AF28 #2833AF
tetradic
#AF2833 #77AF28 #28AFA4 #6128AF
square
#AF2833 #77AF28 #28AFA4 #6128AF
split-complementary
#AF2833 #28AF61 #2877AF
monochromatic
#4B1116 #7D1D24 #AF2833 #D4414D #DF737B

Accessibility & contrast

On white

6.62
#AF2833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF2833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2833
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2833#FFFFFF#000000##FFFFFF
##AF28331.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A32
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2833;
/* rgb */ color: rgb(175, 40, 51);
/* oklch */ color: oklch(49.8% 0.171 22.0);
Tailwind
colors: {
  custom: {
    50: '#cf6e6a',
    500: '#af2833',
    950: '#000000',
  },
}
SCSS
$custom: #af2833;
$custom-light: #cf6e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2833",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 51
  },
  "hsl": {
    "h": 355.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.17053,
    "h": 22
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#AF2833
secondary
#6DC6BF
accent
#E6D842
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2833

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

Preview Lab → · Contrast checker → · Palette generator →

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