#AF2F29#AF2F29

#AF2F29 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 27.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF2F29
RGBrgb(175, 47, 41)
HSLhsl(3, 62%, 42%)
HSVhsv(3, 77%, 69%)
CMYKcmyk(0%, 73.1%, 76.6%, 31.4%)
CIE-LABlab(40.10, 51.06, 34.52)
CIE-LCHlch(40.10, 61.63, 34.07°)
OKLaboklab(50.33% 0.1469 0.0766)
OKLCHoklch(50.33% 0.166 27.6)
XYZxyz(19.0982, 11.3100, 3.2748)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F29 #29A9AF
analogous
#AF2966 #AF2F29 #AF7229
triadic
#AF2F29 #29AF2F #2F29AF
tetradic
#AF2F29 #66AF29 #29A9AF #7229AF
square
#AF2F29 #66AF29 #29A9AF #7229AF
split-complementary
#AF2F29 #29AF72 #2966AF
monochromatic
#4C1412 #7D221D #AF2F29 #D34942 #DE7974

Accessibility & contrast

On white

6.44
#AF2F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F29
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F29#FFFFFF#000000##FFFFFF
##AF2F291.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D27
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2f29;
/* rgb */ color: rgb(175, 47, 41);
/* oklch */ color: oklch(50.3% 0.166 27.6);
Tailwind
colors: {
  custom: {
    50: '#cf7163',
    500: '#af2f29',
    950: '#000000',
  },
}
SCSS
$custom: #af2f29;
$custom-light: #cf7163;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f29",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 41
  },
  "hsl": {
    "h": 2.687,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50325,
    "c": 0.16567,
    "h": 27.6
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#AF2F29
secondary
#6EC2C6
accent
#DEE543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AF2F29

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

Preview Lab → · Contrast checker → · Palette generator →

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