#AF233E#AF233E

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

Color values

HEX#AF233E
RGBrgb(175, 35, 62)
HSLhsl(348, 67%, 41%)
HSVhsv(348, 80%, 69%)
CMYKcmyk(0%, 80%, 64.6%, 31.4%)
CIE-LABlab(39.01, 56.00, 20.44)
CIE-LCHlch(39.01, 59.62, 20.05°)
OKLaboklab(49.62% 0.1672 0.0491)
OKLCHoklch(49.62% 0.174 16.4)
XYZxyz(19.1518, 10.6667, 5.6069)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF233E #23AF94
analogous
#AF2384 #AF233E #AF4E23
triadic
#AF233E #3EAF23 #233EAF
tetradic
#AF233E #84AF23 #23AF94 #4E23AF
square
#AF233E #84AF23 #23AF94 #4E23AF
split-complementary
#AF233E #23AF4E #2384AF
monochromatic
#490F1A #7C192C #AF233E #D73857 #E16B82

Accessibility & contrast

On white

6.70
#AF233E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF233E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF233E#FFFFFF#000000##FFFFFF
##AF233E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C493E
Deuteranopia (green-blind)
#70663A
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af233e;
/* rgb */ color: rgb(175, 35, 62);
/* oklch */ color: oklch(49.6% 0.174 16.4);
Tailwind
colors: {
  custom: {
    50: '#cf6c73',
    500: '#af233e',
    950: '#000000',
  },
}
SCSS
$custom: #af233e;
$custom-light: #cf6c73;
$custom-dark: #000000;
JSON
{
  "hex": "#af233e",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 348.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49621,
    "c": 0.17427,
    "h": 16.4
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#AF233E
secondary
#66C7B5
accent
#EAC93E
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF233E

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

Preview Lab → · Contrast checker → · Palette generator →

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