#AF233C#AF233C

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

Color values

HEX#AF233C
RGBrgb(175, 35, 60)
HSLhsl(349, 67%, 41%)
HSVhsv(349, 80%, 69%)
CMYKcmyk(0%, 80%, 65.7%, 31.4%)
CIE-LABlab(38.98, 55.89, 21.66)
CIE-LCHlch(38.98, 59.94, 21.18°)
OKLaboklab(49.58% 0.1664 0.0517)
OKLCHoklch(49.58% 0.174 17.2)
XYZxyz(19.0979, 10.6452, 5.3232)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF233C #23AF96
analogous
#AF2382 #AF233C #AF5023
triadic
#AF233C #3CAF23 #233CAF
tetradic
#AF233C #82AF23 #23AF96 #5023AF
square
#AF233C #82AF23 #23AF96 #5023AF
split-complementary
#AF233C #23AF50 #2382AF
monochromatic
#490F19 #7C192B #AF233C #D73854 #E16B80

Accessibility & contrast

On white

6.71
#AF233C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF233C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF233C#FFFFFF#000000##FFFFFF
##AF233C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af233c;
/* rgb */ color: rgb(175, 35, 60);
/* oklch */ color: oklch(49.6% 0.174 17.2);
Tailwind
colors: {
  custom: {
    50: '#cf6c71',
    500: '#af233c',
    950: '#000000',
  },
}
SCSS
$custom: #af233c;
$custom-light: #cf6c71;
$custom-dark: #000000;
JSON
{
  "hex": "#af233c",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 60
  },
  "hsl": {
    "h": 349.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49581,
    "c": 0.17426,
    "h": 17.2
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#AF233C
secondary
#66C7B6
accent
#EACB3E
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF233C

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

Preview Lab → · Contrast checker → · Palette generator →

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