#A12438#A12438

#A12438 is a mid, vivid red. Relative luminance 0.091; OKLCH L 47.0% C 0.160 H 17.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#A12438
RGBrgb(161, 36, 56)
HSLhsl(350, 63%, 39%)
HSVhsv(350, 78%, 63%)
CMYKcmyk(0%, 77.6%, 65.2%, 36.9%)
CIE-LABlab(36.23, 51.21, 20.10)
CIE-LCHlch(36.23, 55.02, 21.43°)
OKLaboklab(47.03% 0.1525 0.0482)
OKLCHoklch(47.03% 0.16 17.5)
XYZxyz(16.0443, 9.1268, 4.6574)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12438 #24A18D
analogous
#A12476 #A12438 #A14E24
triadic
#A12438 #38A124 #2438A1
tetradic
#A12438 #76A124 #24A18D #4E24A1
square
#A12438 #76A124 #24A18D #4E24A1
split-complementary
#A12438 #24A14E #2476A1
monochromatic
#3D0E15 #6F1927 #A12438 #D1314B #DC6377

Accessibility & contrast

On white

7.43
#A12438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A12438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12438
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12438#FFFFFF#000000##FFFFFF
##A124381.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484438
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#B1002D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12438;
/* rgb */ color: rgb(161, 36, 56);
/* oklch */ color: oklch(47.0% 0.160 17.5);
Tailwind
colors: {
  custom: {
    50: '#c46a6e',
    500: '#a12438',
    950: '#000000',
  },
}
SCSS
$custom: #a12438;
$custom-light: #c46a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12438",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 350.4,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.15993,
    "h": 17.5
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#A12438
secondary
#5FC2B2
accent
#E6CC41
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A12438

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

Preview Lab → · Contrast checker → · Palette generator →

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