#A12938#A12938

#A12938 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.155 H 18.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A12938
RGBrgb(161, 41, 56)
HSLhsl(353, 59%, 40%)
HSVhsv(353, 75%, 63%)
CMYKcmyk(0%, 74.5%, 65.2%, 36.9%)
CIE-LABlab(36.84, 49.51, 20.89)
CIE-LCHlch(36.84, 53.73, 22.87°)
OKLaboklab(47.48% 0.147 0.0499)
OKLCHoklch(47.48% 0.155 18.8)
XYZxyz(16.2064, 9.4509, 4.7115)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12938 #29A192
analogous
#A12974 #A12938 #A15629
triadic
#A12938 #38A129 #2938A1
tetradic
#A12938 #74A129 #29A192 #5629A1
square
#A12938 #74A129 #29A192 #5629A1
split-complementary
#A12938 #29A156 #2974A1
monochromatic
#3F1016 #701D27 #A12938 #CD3A4D #D96B79

Accessibility & contrast

On white

7.27
#A12938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A12938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12938
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12938#FFFFFF#000000##FFFFFF
##A129381.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4738
Deuteranopia (green-blind)
#696035
Tritanopia (blue-blind)
#B10030
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12938;
/* rgb */ color: rgb(161, 41, 56);
/* oklch */ color: oklch(47.5% 0.155 18.8);
Tailwind
colors: {
  custom: {
    50: '#c46d6e',
    500: '#a12938',
    950: '#000000',
  },
}
SCSS
$custom: #a12938;
$custom-light: #c46d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12938",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 352.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47478,
    "c": 0.15529,
    "h": 18.8
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#A12938
secondary
#66C0B5
accent
#E3CF45
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140807
muted
#827B7A

Preview Lab

Preview with #A12938

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

Preview Lab → · Contrast checker → · Palette generator →

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