#A23840#A23840

#A23840 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.5% C 0.140 H 19.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A23840
RGBrgb(162, 56, 64)
HSLhsl(355, 49%, 43%)
HSVhsv(355, 65%, 64%)
CMYKcmyk(0%, 65.4%, 60.5%, 36.5%)
CIE-LABlab(39.38, 44.33, 19.20)
CIE-LCHlch(39.38, 48.31, 23.42°)
OKLaboklab(49.46% 0.132 0.0468)
OKLCHoklch(49.46% 0.14 19.5)
XYZxyz(17.2415, 10.8822, 6.0421)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23840 #38A29A
analogous
#A23875 #A23840 #A26538
triadic
#A23840 #40A238 #3840A2
tetradic
#A23840 #75A238 #38A29A #6538A2
square
#A23840 #75A238 #38A29A #6538A2
split-complementary
#A23840 #38A265 #3875A2
monochromatic
#47191C #75282E #A23840 #C4535C #D38187

Accessibility & contrast

On white

6.61
#A23840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A23840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23840
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23840#FFFFFF#000000##FFFFFF
##A238401.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F40
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#B1223C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a23840;
/* rgb */ color: rgb(162, 56, 64);
/* oklch */ color: oklch(49.5% 0.140 19.5);
Tailwind
colors: {
  custom: {
    50: '#c37474',
    500: '#a23840',
    950: '#000000',
  },
}
SCSS
$custom: #a23840;
$custom-light: #c37474;
$custom-dark: #000000;
JSON
{
  "hex": "#a23840",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 355.472,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49458,
    "c": 0.14,
    "h": 19.5
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#A23840
secondary
#79BDB8
accent
#D8CE50
background
#FCF7F7
surface
#F9EDED
border
#D2C8C8
text
#140908
muted
#827B7B

Preview Lab

Preview with #A23840

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

Preview Lab → · Contrast checker → · Palette generator →

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