#A23540#A23540

#A23540 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.1% C 0.143 H 18.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A23540
RGBrgb(162, 53, 64)
HSLhsl(354, 51%, 42%)
HSVhsv(354, 67%, 64%)
CMYKcmyk(0%, 67.3%, 60.5%, 36.5%)
CIE-LABlab(38.90, 45.63, 18.57)
CIE-LCHlch(38.90, 49.27, 22.14°)
OKLaboklab(49.1% 0.1361 0.0453)
OKLCHoklch(49.1% 0.143 18.4)
XYZxyz(17.1004, 10.6001, 5.9950)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23540 #35A297
analogous
#A23577 #A23540 #A26135
triadic
#A23540 #40A235 #3540A2
tetradic
#A23540 #77A235 #35A297 #6135A2
square
#A23540 #77A235 #35A297 #6135A2
split-complementary
#A23540 #35A261 #3577A2
monochromatic
#46171C #74262E #A23540 #C54F5B #D47D86

Accessibility & contrast

On white

6.73
#A23540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A23540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23540
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23540#FFFFFF#000000##FFFFFF
##A235401.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D40
Deuteranopia (green-blind)
#6D643D
Tritanopia (blue-blind)
#B11D3A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a23540;
/* rgb */ color: rgb(162, 53, 64);
/* oklch */ color: oklch(49.1% 0.143 18.4);
Tailwind
colors: {
  custom: {
    50: '#c47374',
    500: '#a23540',
    950: '#000000',
  },
}
SCSS
$custom: #a23540;
$custom-light: #c47374;
$custom-dark: #000000;
JSON
{
  "hex": "#a23540",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 64
  },
  "hsl": {
    "h": 353.945,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49097,
    "c": 0.14344,
    "h": 18.4
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#A23540
secondary
#75BDB6
accent
#DACC4E
background
#FCF7F7
surface
#F9EDED
border
#D2C8C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A23540

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

Preview Lab → · Contrast checker → · Palette generator →

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