#A12138#A12138

#A12138 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.8% C 0.163 H 16.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#A12138
RGBrgb(161, 33, 56)
HSLhsl(349, 66%, 38%)
HSVhsv(349, 80%, 63%)
CMYKcmyk(0%, 79.5%, 65.2%, 36.9%)
CIE-LABlab(35.89, 52.15, 19.67)
CIE-LCHlch(35.89, 55.74, 20.66°)
OKLaboklab(46.78% 0.1555 0.0472)
OKLCHoklch(46.78% 0.163 16.9)
XYZxyz(15.9573, 8.9527, 4.6284)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12138 #21A18A
analogous
#A12178 #A12138 #A14A21
triadic
#A12138 #38A121 #2138A1
tetradic
#A12138 #78A121 #21A18A #4A21A1
square
#A12138 #78A121 #21A18A #4A21A1
split-complementary
#A12138 #21A14A #2178A1
monochromatic
#3B0C15 #6E1726 #A12138 #D42C4A #DE5E75

Accessibility & contrast

On white

7.53
#A12138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#A12138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12138
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12138#FFFFFF#000000##FFFFFF
##A121381.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474338
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#B1002B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a12138;
/* rgb */ color: rgb(161, 33, 56);
/* oklch */ color: oklch(46.8% 0.163 16.9);
Tailwind
colors: {
  custom: {
    50: '#c4696e',
    500: '#a12138',
    950: '#000000',
  },
}
SCSS
$custom: #a12138;
$custom-light: #c4696e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12138",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 349.219,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.16252,
    "h": 16.9
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#A12138
secondary
#5BC3B0
accent
#E9CA3F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A12138

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

Preview Lab → · Contrast checker → · Palette generator →

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