#AF2634#AF2634

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

Color values

HEX#AF2634
RGBrgb(175, 38, 52)
HSLhsl(354, 64%, 42%)
HSVhsv(354, 78%, 69%)
CMYKcmyk(0%, 78.3%, 70.3%, 31.4%)
CIE-LABlab(39.16, 54.57, 26.87)
CIE-LCHlch(39.16, 60.83, 26.21°)
OKLaboklab(49.67% 0.1605 0.0623)
OKLCHoklch(49.67% 0.172 21.2)
XYZxyz(18.9943, 10.7511, 4.3232)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2634 #26AFA1
analogous
#AF2678 #AF2634 #AF5D26
triadic
#AF2634 #34AF26 #2634AF
tetradic
#AF2634 #78AF26 #26AFA1 #5D26AF
square
#AF2634 #78AF26 #26AFA1 #5D26AF
split-complementary
#AF2634 #26AF5D #2678AF
monochromatic
#4A1016 #7D1B25 #AF2634 #D53D4D #E0707B

Accessibility & contrast

On white

6.67
#AF2634 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF2634 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2634
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2634#FFFFFF#000000##FFFFFF
##AF26341.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A33
Deuteranopia (green-blind)
#716730
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2634;
/* rgb */ color: rgb(175, 38, 52);
/* oklch */ color: oklch(49.7% 0.172 21.2);
Tailwind
colors: {
  custom: {
    50: '#cf6d6b',
    500: '#af2634',
    950: '#000000',
  },
}
SCSS
$custom: #af2634;
$custom-light: #cf6d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2634",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 52
  },
  "hsl": {
    "h": 353.869,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.17212,
    "h": 21.2
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#AF2634
secondary
#6AC7BD
accent
#E7D640
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2634

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

Preview Lab → · Contrast checker → · Palette generator →

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