#A23040#A23040

#A23040 is a mid, vivid red. Relative luminance 0.102; OKLCH L 48.5% C 0.149 H 16.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A23040
RGBrgb(162, 48, 64)
HSLhsl(352, 54%, 41%)
HSVhsv(352, 70%, 64%)
CMYKcmyk(0%, 70.4%, 60.5%, 36.5%)
CIE-LABlab(38.14, 47.70, 17.57)
CIE-LCHlch(38.14, 50.83, 20.22°)
OKLaboklab(48.53% 0.1427 0.043)
OKLCHoklch(48.53% 0.149 16.8)
XYZxyz(16.8843, 10.1678, 5.9230)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23040 #30A292
analogous
#A23079 #A23040 #A25930
triadic
#A23040 #40A230 #3040A2
tetradic
#A23040 #79A230 #30A292 #5930A2
square
#A23040 #79A230 #30A292 #5930A2
split-complementary
#A23040 #30A259 #3079A2
monochromatic
#44141B #73222D #A23040 #C84759 #D67684

Accessibility & contrast

On white

6.92
#A23040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A23040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23040
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23040#FFFFFF#000000##FFFFFF
##A230401.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#6B633D
Tritanopia (blue-blind)
#B11337
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a23040;
/* rgb */ color: rgb(162, 48, 64);
/* oklch */ color: oklch(48.5% 0.149 16.8);
Tailwind
colors: {
  custom: {
    50: '#c47074',
    500: '#a23040',
    950: '#000000',
  },
}
SCSS
$custom: #a23040;
$custom-light: #c47074;
$custom-dark: #000000;
JSON
{
  "hex": "#a23040",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 351.579,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48533,
    "c": 0.14903,
    "h": 16.8
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#A23040
secondary
#6FBEB3
accent
#DEC94A
background
#FCF7F7
surface
#F9EDED
border
#D2C8C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A23040

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

Preview Lab → · Contrast checker → · Palette generator →

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