#AF2239#AF2239

#AF2239 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.175 H 18.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AF2239
RGBrgb(175, 34, 57)
HSLhsl(350, 67%, 41%)
HSVhsv(350, 81%, 69%)
CMYKcmyk(0%, 80.6%, 67.4%, 31.4%)
CIE-LABlab(38.82, 56.01, 23.35)
CIE-LCHlch(38.82, 60.68, 22.63°)
OKLaboklab(49.45% 0.1662 0.0551)
OKLCHoklch(49.45% 0.175 18.4)
XYZxyz(18.9919, 10.5564, 4.9077)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2239 #22AF98
analogous
#AF227F #AF2239 #AF5122
triadic
#AF2239 #39AF22 #2239AF
tetradic
#AF2239 #7FAF22 #22AF98 #5122AF
square
#AF2239 #7FAF22 #22AF98 #5122AF
split-complementary
#AF2239 #22AF51 #227FAF
monochromatic
#490E18 #7C1828 #AF2239 #D83651 #E2697D

Accessibility & contrast

On white

6.75
#AF2239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2239
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2239#FFFFFF#000000##FFFFFF
##AF22391.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2239;
/* rgb */ color: rgb(175, 34, 57);
/* oklch */ color: oklch(49.5% 0.175 18.4);
Tailwind
colors: {
  custom: {
    50: '#cf6c6f',
    500: '#af2239',
    950: '#000000',
  },
}
SCSS
$custom: #af2239;
$custom-light: #cf6c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2239",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 350.213,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.17506,
    "h": 18.4
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#AF2239
secondary
#65C8B8
accent
#EACE3D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF2239

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

Preview Lab → · Contrast checker → · Palette generator →

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