#AF2830#AF2830

#AF2830 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.171 H 23.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AF2830
RGBrgb(175, 40, 48)
HSLhsl(356, 63%, 42%)
HSVhsv(356, 77%, 69%)
CMYKcmyk(0%, 77.1%, 72.6%, 31.4%)
CIE-LABlab(39.32, 53.76, 29.51)
CIE-LCHlch(39.32, 61.32, 28.77°)
OKLaboklab(49.78% 0.157 0.0673)
OKLCHoklch(49.78% 0.171 23.2)
XYZxyz(18.9737, 10.8479, 3.8905)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2830 #28AFA7
analogous
#AF2874 #AF2830 #AF6328
triadic
#AF2830 #30AF28 #2830AF
tetradic
#AF2830 #74AF28 #28AFA7 #6328AF
square
#AF2830 #74AF28 #28AFA7 #6328AF
split-complementary
#AF2830 #28AF63 #2874AF
monochromatic
#4B1115 #7D1D22 #AF2830 #D44149 #DF7379

Accessibility & contrast

On white

6.63
#AF2830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF2830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2830
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2830#FFFFFF#000000##FFFFFF
##AF28301.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2F
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2830;
/* rgb */ color: rgb(175, 40, 48);
/* oklch */ color: oklch(49.8% 0.171 23.2);
Tailwind
colors: {
  custom: {
    50: '#cf6e68',
    500: '#af2830',
    950: '#000000',
  },
}
SCSS
$custom: #af2830;
$custom-light: #cf6e68;
$custom-dark: #000000;
JSON
{
  "hex": "#af2830",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 356.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.1708,
    "h": 23.2
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#AF2830
secondary
#6DC6C1
accent
#E6DC42
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2830

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

Preview Lab → · Contrast checker → · Palette generator →

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