#AF3238#AF3238

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

Color values

HEX#AF3238
RGBrgb(175, 50, 56)
HSLhsl(357, 56%, 44%)
HSVhsv(357, 71%, 69%)
CMYKcmyk(0%, 71.4%, 68%, 31.4%)
CIE-LABlab(40.71, 50.64, 26.31)
CIE-LCHlch(40.71, 57.07, 27.45°)
OKLaboklab(50.85% 0.1488 0.0616)
OKLCHoklch(50.85% 0.161 22.5)
XYZxyz(19.5357, 11.6836, 4.9671)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3238 #32AFA9
analogous
#AF3277 #AF3238 #AF6B32
triadic
#AF3238 #38AF32 #3238AF
tetradic
#AF3238 #77AF32 #32AFA9 #6B32AF
square
#AF3238 #77AF32 #32AFA9 #6B32AF
split-complementary
#AF3238 #32AF6B #3277AF
monochromatic
#50171A #7F2429 #AF3238 #CD5157 #DB8185

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3238#FFFFFF#000000##FFFFFF
##AF32381.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)
#554F37
Deuteranopia (green-blind)
#746A34
Tritanopia (blue-blind)
#C00635
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3238;
/* rgb */ color: rgb(175, 50, 56);
/* oklch */ color: oklch(50.8% 0.161 22.5);
Tailwind
colors: {
  custom: {
    50: '#ce736e',
    500: '#af3238',
    950: '#000000',
  },
}
SCSS
$custom: #af3238;
$custom-light: #ce736e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3238",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 56
  },
  "hsl": {
    "h": 357.12,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.16106,
    "h": 22.5
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3238

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

Preview Lab → · Contrast checker → · Palette generator →

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