#A12238#A12238

#A12238 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 17.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A12238
RGBrgb(161, 34, 56)
HSLhsl(350, 65%, 38%)
HSVhsv(350, 79%, 63%)
CMYKcmyk(0%, 78.9%, 65.2%, 36.9%)
CIE-LABlab(36.00, 51.85, 19.81)
CIE-LCHlch(36.00, 55.50, 20.91°)
OKLaboklab(46.86% 0.1545 0.0475)
OKLCHoklch(46.86% 0.162 17.1)
XYZxyz(15.9855, 9.0091, 4.6378)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12238 #22A18B
analogous
#A12277 #A12238 #A14B22
triadic
#A12238 #38A122 #2238A1
tetradic
#A12238 #77A122 #22A18B #4B22A1
square
#A12238 #77A122 #22A18B #4B22A1
split-complementary
#A12238 #22A14B #2277A1
monochromatic
#3C0D15 #6E1726 #A12238 #D32D4A #DD6076

Accessibility & contrast

On white

7.50
#A12238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A12238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12238
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12238#FFFFFF#000000##FFFFFF
##A122381.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474438
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#B1002C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12238;
/* rgb */ color: rgb(161, 34, 56);
/* oklch */ color: oklch(46.9% 0.162 17.1);
Tailwind
colors: {
  custom: {
    50: '#c46a6e',
    500: '#a12238',
    950: '#000000',
  },
}
SCSS
$custom: #a12238;
$custom-light: #c46a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12238",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 349.606,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46858,
    "c": 0.16167,
    "h": 17.1
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#A12238
secondary
#5DC2B1
accent
#E8CB40
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A12238

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

Preview Lab → · Contrast checker → · Palette generator →

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