#AF2237#AF2237

#AF2237 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 19.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AF2237
RGBrgb(175, 34, 55)
HSLhsl(351, 67%, 41%)
HSVhsv(351, 81%, 69%)
CMYKcmyk(0%, 80.6%, 68.6%, 31.4%)
CIE-LABlab(38.79, 55.90, 24.56)
CIE-LCHlch(38.79, 61.06, 23.71°)
OKLaboklab(49.42% 0.1654 0.0576)
OKLCHoklch(49.42% 0.175 19.2)
XYZxyz(18.9430, 10.5368, 4.6501)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2237 #22AF9A
analogous
#AF227D #AF2237 #AF5322
triadic
#AF2237 #37AF22 #2237AF
tetradic
#AF2237 #7DAF22 #22AF9A #5322AF
square
#AF2237 #7DAF22 #22AF9A #5322AF
split-complementary
#AF2237 #22AF53 #227DAF
monochromatic
#490E17 #7C1827 #AF2237 #D8364E #E2697B

Accessibility & contrast

On white

6.76
#AF2237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF2237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2237
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2237#FFFFFF#000000##FFFFFF
##AF22371.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4837
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#C0002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2237;
/* rgb */ color: rgb(175, 34, 55);
/* oklch */ color: oklch(49.4% 0.175 19.2);
Tailwind
colors: {
  custom: {
    50: '#cf6c6d',
    500: '#af2237',
    950: '#000000',
  },
}
SCSS
$custom: #af2237;
$custom-light: #cf6c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2237",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 351.064,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49415,
    "c": 0.1751,
    "h": 19.2
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#AF2237
secondary
#65C8B9
accent
#EAD13D
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF2237

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

Preview Lab → · Contrast checker → · Palette generator →

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