#AF2B34#AF2B34

#AF2B34 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 22.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AF2B34
RGBrgb(175, 43, 52)
HSLhsl(356, 61%, 43%)
HSVhsv(356, 75%, 69%)
CMYKcmyk(0%, 75.4%, 70.3%, 31.4%)
CIE-LABlab(39.74, 52.96, 27.57)
CIE-LCHlch(39.74, 59.70, 27.50°)
OKLaboklab(50.1% 0.1553 0.0638)
OKLCHoklch(50.1% 0.168 22.3)
XYZxyz(19.1651, 11.0926, 4.3801)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B34 #2BAFA6
analogous
#AF2B76 #AF2B34 #AF642B
triadic
#AF2B34 #34AF2B #2B34AF
tetradic
#AF2B34 #76AF2B #2BAFA6 #642BAF
square
#AF2B34 #76AF2B #2BAFA6 #642BAF
split-complementary
#AF2B34 #2BAF64 #2B76AF
monochromatic
#4D1317 #7E1F25 #AF2B34 #D1464F #DE777E

Accessibility & contrast

On white

6.53
#AF2B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B34
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B34#FFFFFF#000000##FFFFFF
##AF2B341.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C33
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2b34;
/* rgb */ color: rgb(175, 43, 52);
/* oklch */ color: oklch(50.1% 0.168 22.3);
Tailwind
colors: {
  custom: {
    50: '#cf6f6b',
    500: '#af2b34',
    950: '#000000',
  },
}
SCSS
$custom: #af2b34;
$custom-light: #cf6f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b34",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 52
  },
  "hsl": {
    "h": 355.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.16789,
    "h": 22.3
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#AF2B34
secondary
#70C5C0
accent
#E4D944
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2B34

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

Preview Lab → · Contrast checker → · Palette generator →

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