#AF2638#AF2638

#AF2638 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.172 H 19.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AF2638
RGBrgb(175, 38, 56)
HSLhsl(352, 64%, 42%)
HSVhsv(352, 78%, 69%)
CMYKcmyk(0%, 78.3%, 68%, 31.4%)
CIE-LABlab(39.22, 54.78, 24.47)
CIE-LCHlch(39.22, 60.00, 24.07°)
OKLaboklab(49.74% 0.162 0.0575)
OKLCHoklch(49.74% 0.172 19.5)
XYZxyz(19.0882, 10.7886, 4.8179)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2638 #26AF9D
analogous
#AF267D #AF2638 #AF5926
triadic
#AF2638 #38AF26 #2638AF
tetradic
#AF2638 #7DAF26 #26AF9D #5926AF
square
#AF2638 #7DAF26 #26AF9D #5926AF
split-complementary
#AF2638 #26AF59 #267DAF
monochromatic
#4A1018 #7D1B28 #AF2638 #D53D51 #E0707E

Accessibility & contrast

On white

6.65
#AF2638 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF2638 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2638
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2638#FFFFFF#000000##FFFFFF
##AF26381.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2638;
/* rgb */ color: rgb(175, 38, 56);
/* oklch */ color: oklch(49.7% 0.172 19.5);
Tailwind
colors: {
  custom: {
    50: '#cf6d6e',
    500: '#af2638',
    950: '#000000',
  },
}
SCSS
$custom: #af2638;
$custom-light: #cf6d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2638",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 56
  },
  "hsl": {
    "h": 352.117,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49741,
    "c": 0.17191,
    "h": 19.5
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#AF2638
secondary
#6AC7BA
accent
#E7D140
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2638

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

Preview Lab → · Contrast checker → · Palette generator →

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