#AF2D30#AF2D30

#AF2D30 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 24.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2D30
RGBrgb(175, 45, 48)
HSLhsl(359, 59%, 43%)
HSVhsv(359, 74%, 69%)
CMYKcmyk(0%, 74.3%, 72.6%, 31.4%)
CIE-LABlab(39.93, 52.07, 30.22)
CIE-LCHlch(39.93, 60.20, 30.13°)
OKLaboklab(50.23% 0.1516 0.0689)
OKLCHoklch(50.23% 0.167 24.4)
XYZxyz(19.1533, 11.2071, 3.9504)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D30 #2DAFAC
analogous
#AF2D71 #AF2D30 #AF6B2D
triadic
#AF2D30 #30AF2D #2D30AF
tetradic
#AF2D30 #71AF2D #2DAFAC #6B2DAF
square
#AF2D30 #71AF2D #2DAFAC #6B2DAF
split-complementary
#AF2D30 #2DAF6B #2D71AF
monochromatic
#4E1415 #7E2023 #AF2D30 #D0494C #DD7A7C

Accessibility & contrast

On white

6.48
#AF2D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D30
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D30#FFFFFF#000000##FFFFFF
##AF2D301.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#74682C
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2d30;
/* rgb */ color: rgb(175, 45, 48);
/* oklch */ color: oklch(50.2% 0.167 24.4);
Tailwind
colors: {
  custom: {
    50: '#cf7068',
    500: '#af2d30',
    950: '#000000',
  },
}
SCSS
$custom: #af2d30;
$custom-light: #cf7068;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d30",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 48
  },
  "hsl": {
    "h": 358.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.16653,
    "h": 24.4
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#AF2D30
secondary
#73C5C3
accent
#E2DF46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2D30

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

Preview Lab → · Contrast checker → · Palette generator →

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