#AF333B#AF333B

#AF333B is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.160 H 21.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF333B
RGBrgb(175, 51, 59)
HSLhsl(356, 55%, 44%)
HSVhsv(356, 71%, 69%)
CMYKcmyk(0%, 70.9%, 66.3%, 31.4%)
CIE-LABlab(40.90, 50.43, 24.71)
CIE-LCHlch(40.90, 56.16, 26.10°)
OKLaboklab(51% 0.1487 0.0585)
OKLCHoklch(51% 0.16 21.5)
XYZxyz(19.6545, 11.8002, 5.3796)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF333B #33AFA7
analogous
#AF3379 #AF333B #AF6933
triadic
#AF333B #3BAF33 #333BAF
tetradic
#AF333B #79AF33 #33AFA7 #6933AF
square
#AF333B #79AF33 #33AFA7 #6933AF
split-complementary
#AF333B #33AF69 #3379AF
monochromatic
#50171B #80252B #AF333B #CD525A #DB8288

Accessibility & contrast

On white

6.25
#AF333B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF333B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF333B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF333B#FFFFFF#000000##FFFFFF
##AF333B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503A
Deuteranopia (green-blind)
#746A37
Tritanopia (blue-blind)
#C00C37
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af333b;
/* rgb */ color: rgb(175, 51, 59);
/* oklch */ color: oklch(51.0% 0.160 21.5);
Tailwind
colors: {
  custom: {
    50: '#ce7371',
    500: '#af333b',
    950: '#000000',
  },
}
SCSS
$custom: #af333b;
$custom-light: #ce7371;
$custom-dark: #000000;
JSON
{
  "hex": "#af333b",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 59
  },
  "hsl": {
    "h": 356.129,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.15982,
    "h": 21.5
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#AF333B
secondary
#7AC4BF
accent
#DED54A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF333B

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

Preview Lab → · Contrast checker → · Palette generator →

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