#A23138#A23138

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

Color values

HEX#A23138
RGBrgb(162, 49, 56)
HSLhsl(356, 54%, 41%)
HSVhsv(356, 70%, 64%)
CMYKcmyk(0%, 69.8%, 65.4%, 36.5%)
CIE-LABlab(38.14, 46.77, 22.58)
CIE-LCHlch(38.14, 51.93, 25.77°)
OKLaboklab(48.48% 0.1382 0.0538)
OKLCHoklch(48.48% 0.148 21.3)
XYZxyz(16.7141, 10.1659, 4.8227)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23138 #31A29B
analogous
#A23171 #A23138 #A26331
triadic
#A23138 #38A231 #3138A2
tetradic
#A23138 #71A231 #31A29B #6331A2
square
#A23138 #71A231 #31A29B #6331A2
split-complementary
#A23138 #31A263 #3171A2
monochromatic
#441518 #732328 #A23138 #C84850 #D6777D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23138#FFFFFF#000000##FFFFFF
##A231381.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)
#504B37
Deuteranopia (green-blind)
#6C6335
Tritanopia (blue-blind)
#B21234
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a23138;
/* rgb */ color: rgb(162, 49, 56);
/* oklch */ color: oklch(48.5% 0.148 21.3);
Tailwind
colors: {
  custom: {
    50: '#c4716e',
    500: '#a23138',
    950: '#000000',
  },
}
SCSS
$custom: #a23138;
$custom-light: #c4716e;
$custom-dark: #000000;
JSON
{
  "hex": "#a23138",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 56
  },
  "hsl": {
    "h": 356.283,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.14826,
    "h": 21.3
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#A23138
secondary
#71BEB9
accent
#DDD44B
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140807
muted
#827B7A

Preview Lab

Preview with #A23138

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

Preview Lab → · Contrast checker → · Palette generator →

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