#AF3438#AF3438

#AF3438 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.159 H 23.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF3438
RGBrgb(175, 52, 56)
HSLhsl(358, 54%, 45%)
HSVhsv(358, 70%, 69%)
CMYKcmyk(0%, 70.3%, 68%, 31.4%)
CIE-LABlab(40.99, 49.87, 26.66)
CIE-LCHlch(40.99, 56.55, 28.13°)
OKLaboklab(51.06% 0.1463 0.0624)
OKLCHoklch(51.06% 0.159 23.1)
XYZxyz(19.6231, 11.8583, 4.9962)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3438 #34AFAB
analogous
#AF3476 #AF3438 #AF6E34
triadic
#AF3438 #38AF34 #3438AF
tetradic
#AF3438 #76AF34 #34AFAB #6E34AF
square
#AF3438 #76AF34 #34AFAB #6E34AF
split-complementary
#AF3438 #34AF6E #3476AF
monochromatic
#51181A #802629 #AF3438 #CC5458 #DA8386

Accessibility & contrast

On white

6.23
#AF3438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF3438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3438
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3438#FFFFFF#000000##FFFFFF
##AF34381.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565037
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#C00D37
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3438;
/* rgb */ color: rgb(175, 52, 56);
/* oklch */ color: oklch(51.1% 0.159 23.1);
Tailwind
colors: {
  custom: {
    50: '#ce746e',
    500: '#af3438',
    950: '#000000',
  },
}
SCSS
$custom: #af3438;
$custom-light: #ce746e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3438",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 56
  },
  "hsl": {
    "h": 358.049,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.15909,
    "h": 23.1
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#AF3438
secondary
#7BC4C1
accent
#DED94A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF3438

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

Preview Lab → · Contrast checker → · Palette generator →

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