#AF2F23#AF2F23

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

Color values

HEX#AF2F23
RGBrgb(175, 47, 35)
HSLhsl(5, 67%, 41%)
HSVhsv(5, 80%, 69%)
CMYKcmyk(0%, 73.1%, 80%, 31.4%)
CIE-LABlab(40.03, 50.84, 37.82)
CIE-LCHlch(40.03, 63.36, 36.65°)
OKLaboklab(50.26% 0.145 0.0821)
OKLCHoklch(50.26% 0.167 29.5)
XYZxyz(19.0013, 11.2713, 2.7649)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F23 #23A3AF
analogous
#AF235D #AF2F23 #AF7523
triadic
#AF2F23 #23AF2F #2F23AF
tetradic
#AF2F23 #5DAF23 #23A3AF #7523AF
square
#AF2F23 #5DAF23 #23A3AF #7523AF
split-complementary
#AF2F23 #23AF75 #235DAF
monochromatic
#49140F #7C2119 #AF2F23 #D74638 #E1756B

Accessibility & contrast

On white

6.45
#AF2F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F23
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F23#FFFFFF#000000##FFFFFF
##AF2F231.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C20
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2f23;
/* rgb */ color: rgb(175, 47, 35);
/* oklch */ color: oklch(50.3% 0.167 29.5);
Tailwind
colors: {
  custom: {
    50: '#d0715f',
    500: '#af2f23',
    950: '#000000',
  },
}
SCSS
$custom: #af2f23;
$custom-light: #d0715f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f23",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 5.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.16658,
    "h": 29.5
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#AF2F23
secondary
#66BFC7
accent
#DBEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2F23

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

Preview Lab → · Contrast checker → · Palette generator →

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