#AF233B#AF233B

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

Color values

HEX#AF233B
RGBrgb(175, 35, 59)
HSLhsl(350, 67%, 41%)
HSVhsv(350, 80%, 69%)
CMYKcmyk(0%, 80%, 66.3%, 31.4%)
CIE-LABlab(38.96, 55.83, 22.26)
CIE-LCHlch(38.96, 60.11, 21.74°)
OKLaboklab(49.56% 0.166 0.0529)
OKLCHoklch(49.56% 0.174 17.7)
XYZxyz(19.0717, 10.6347, 5.1853)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF233B #23AF97
analogous
#AF2381 #AF233B #AF5123
triadic
#AF233B #3BAF23 #233BAF
tetradic
#AF233B #81AF23 #23AF97 #5123AF
square
#AF233B #81AF23 #23AF97 #5123AF
split-complementary
#AF233B #23AF51 #2381AF
monochromatic
#490F19 #7C192A #AF233B #D73853 #E16B7F

Accessibility & contrast

On white

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

On black

3.13
#AF233B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF233B#FFFFFF#000000##FFFFFF
##AF233B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af233b;
/* rgb */ color: rgb(175, 35, 59);
/* oklch */ color: oklch(49.6% 0.174 17.7);
Tailwind
colors: {
  custom: {
    50: '#cf6c70',
    500: '#af233b',
    950: '#000000',
  },
}
SCSS
$custom: #af233b;
$custom-light: #cf6c70;
$custom-dark: #000000;
JSON
{
  "hex": "#af233b",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 349.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.17426,
    "h": 17.7
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#AF233B
secondary
#66C7B7
accent
#EACC3E
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF233B

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

Preview Lab → · Contrast checker → · Palette generator →

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