#AF2B30#AF2B30

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

Color values

HEX#AF2B30
RGBrgb(175, 43, 48)
HSLhsl(358, 61%, 43%)
HSVhsv(358, 75%, 69%)
CMYKcmyk(0%, 75.4%, 72.6%, 31.4%)
CIE-LABlab(39.68, 52.77, 29.93)
CIE-LCHlch(39.68, 60.66, 29.56°)
OKLaboklab(50.04% 0.1538 0.0683)
OKLCHoklch(50.04% 0.168 23.9)
XYZxyz(19.0787, 11.0580, 3.9256)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B30 #2BAFAA
analogous
#AF2B72 #AF2B30 #AF682B
triadic
#AF2B30 #30AF2B #2B30AF
tetradic
#AF2B30 #72AF2B #2BAFAA #682BAF
square
#AF2B30 #72AF2B #2BAFAA #682BAF
split-complementary
#AF2B30 #2BAF68 #2B72AF
monochromatic
#4D1315 #7E1F23 #AF2B30 #D1464B #DE777B

Accessibility & contrast

On white

6.54
#AF2B30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2B30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B30
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B30#FFFFFF#000000##FFFFFF
##AF2B301.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b30;
/* rgb */ color: rgb(175, 43, 48);
/* oklch */ color: oklch(50.0% 0.168 23.9);
Tailwind
colors: {
  custom: {
    50: '#cf6f68',
    500: '#af2b30',
    950: '#000000',
  },
}
SCSS
$custom: #af2b30;
$custom-light: #cf6f68;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b30",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 48
  },
  "hsl": {
    "h": 357.727,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.16827,
    "h": 23.9
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#AF2B30
secondary
#70C5C2
accent
#E4DE44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2B30

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

Preview Lab → · Contrast checker → · Palette generator →

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