#A12845#A12845

#A12845 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.157 H 11.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A12845
RGBrgb(161, 40, 69)
HSLhsl(346, 60%, 39%)
HSVhsv(346, 75%, 63%)
CMYKcmyk(0%, 75.2%, 57.1%, 36.9%)
CIE-LABlab(36.98, 50.75, 12.79)
CIE-LCHlch(36.98, 52.33, 14.15°)
OKLaboklab(47.67% 0.1534 0.032)
OKLCHoklch(47.67% 0.157 11.8)
XYZxyz(16.5325, 9.5267, 6.5974)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12845 #28A184
analogous
#A12882 #A12845 #A14828
triadic
#A12845 #45A128 #2845A1
tetradic
#A12845 #82A128 #28A184 #4828A1
square
#A12845 #82A128 #28A184 #4828A1
split-complementary
#A12845 #28A148 #2882A1
monochromatic
#3F101B #701C30 #A12845 #CE395C #DA6A84

Accessibility & contrast

On white

7.23
#A12845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A12845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12845
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12845#FFFFFF#000000##FFFFFF
##A128451.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484745
Deuteranopia (green-blind)
#676042
Tritanopia (blue-blind)
#B00234
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12845;
/* rgb */ color: rgb(161, 40, 69);
/* oklch */ color: oklch(47.7% 0.157 11.8);
Tailwind
colors: {
  custom: {
    50: '#c36c78',
    500: '#a12845',
    950: '#000000',
  },
}
SCSS
$custom: #a12845;
$custom-light: #c36c78;
$custom-dark: #000000;
JSON
{
  "hex": "#a12845",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 345.62,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.15674,
    "h": 11.8
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#A12845
secondary
#65C0AA
accent
#E3BD44
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A12845

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

Preview Lab → · Contrast checker → · Palette generator →

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