#AF233A#AF233A

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

Color values

HEX#AF233A
RGBrgb(175, 35, 58)
HSLhsl(350, 67%, 41%)
HSVhsv(350, 80%, 69%)
CMYKcmyk(0%, 80%, 66.9%, 31.4%)
CIE-LABlab(38.94, 55.78, 22.87)
CIE-LCHlch(38.94, 60.28, 22.29°)
OKLaboklab(49.54% 0.1656 0.0542)
OKLCHoklch(49.54% 0.174 18.1)
XYZxyz(19.0461, 10.6245, 5.0500)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF233A #23AF98
analogous
#AF2380 #AF233A #AF5223
triadic
#AF233A #3AAF23 #233AAF
tetradic
#AF233A #80AF23 #23AF98 #5223AF
square
#AF233A #80AF23 #23AF98 #5223AF
split-complementary
#AF233A #23AF52 #2380AF
monochromatic
#490F18 #7C1929 #AF233A #D73852 #E16B7E

Accessibility & contrast

On white

6.72
#AF233A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF233A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF233A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF233A#FFFFFF#000000##FFFFFF
##AF233A1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493A
Deuteranopia (green-blind)
#706636
Tritanopia (blue-blind)
#C0002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af233a;
/* rgb */ color: rgb(175, 35, 58);
/* oklch */ color: oklch(49.5% 0.174 18.1);
Tailwind
colors: {
  custom: {
    50: '#cf6c70',
    500: '#af233a',
    950: '#000000',
  },
}
SCSS
$custom: #af233a;
$custom-light: #cf6c70;
$custom-dark: #000000;
JSON
{
  "hex": "#af233a",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 58
  },
  "hsl": {
    "h": 350.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.17427,
    "h": 18.1
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#AF233A
secondary
#66C7B8
accent
#EACD3E
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF233A

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

Preview Lab → · Contrast checker → · Palette generator →

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