#AF2340#AF2340

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

Color values

HEX#AF2340
RGBrgb(175, 35, 64)
HSLhsl(348, 67%, 41%)
HSVhsv(348, 80%, 69%)
CMYKcmyk(0%, 80%, 63.4%, 31.4%)
CIE-LABlab(39.05, 56.12, 19.23)
CIE-LCHlch(39.05, 59.33, 18.91°)
OKLaboklab(49.66% 0.168 0.0465)
OKLCHoklch(49.66% 0.174 15.5)
XYZxyz(19.2077, 10.6891, 5.9013)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2340 #23AF92
analogous
#AF2386 #AF2340 #AF4C23
triadic
#AF2340 #40AF23 #2340AF
tetradic
#AF2340 #86AF23 #23AF92 #4C23AF
square
#AF2340 #86AF23 #23AF92 #4C23AF
split-complementary
#AF2340 #23AF4C #2386AF
monochromatic
#490F1B #7C192D #AF2340 #D73859 #E16B84

Accessibility & contrast

On white

6.69
#AF2340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AF2340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2340
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2340#FFFFFF#000000##FFFFFF
##AF23401.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4940
Deuteranopia (green-blind)
#6F663C
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2340;
/* rgb */ color: rgb(175, 35, 64);
/* oklch */ color: oklch(49.7% 0.174 15.5);
Tailwind
colors: {
  custom: {
    50: '#ce6c74',
    500: '#af2340',
    950: '#000000',
  },
}
SCSS
$custom: #af2340;
$custom-light: #ce6c74;
$custom-dark: #000000;
JSON
{
  "hex": "#af2340",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 347.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.17433,
    "h": 15.5
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#AF2340
secondary
#66C7B3
accent
#EAC63E
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF2340

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

Preview Lab → · Contrast checker → · Palette generator →

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