#AF2F2D#AF2F2D

#AF2F2D is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.165 H 26.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AF2F2D
RGBrgb(175, 47, 45)
HSLhsl(1, 59%, 43%)
HSVhsv(1, 74%, 69%)
CMYKcmyk(0%, 73.1%, 74.3%, 31.4%)
CIE-LABlab(40.15, 51.22, 32.25)
CIE-LCHlch(40.15, 60.53, 32.20°)
OKLaboklab(50.38% 0.1483 0.0727)
OKLCHoklch(50.38% 0.165 26.1)
XYZxyz(19.1716, 11.3394, 3.6614)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F2D #2DADAF
analogous
#AF2D6C #AF2F2D #AF702D
triadic
#AF2F2D #2DAF2F #2F2DAF
tetradic
#AF2F2D #6CAF2D #2DADAF #702DAF
square
#AF2F2D #6CAF2D #2DADAF #702DAF
split-complementary
#AF2F2D #2DAF70 #2D6CAF
monochromatic
#4E1514 #7E2220 #AF2F2D #D04B49 #DD7B7A

Accessibility & contrast

On white

6.43
#AF2F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F2D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F2D#FFFFFF#000000##FFFFFF
##AF2F2D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f2d;
/* rgb */ color: rgb(175, 47, 45);
/* oklch */ color: oklch(50.4% 0.165 26.1);
Tailwind
colors: {
  custom: {
    50: '#cf7166',
    500: '#af2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #af2f2d;
$custom-light: #cf7166;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f2d",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 0.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.16512,
    "h": 26.1
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#AF2F2D
secondary
#73C4C5
accent
#E0E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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