#731228#731228

#731228 is a dark, vivid red. Relative luminance 0.042; OKLCH L 36.5% C 0.130 H 14.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#731228
RGBrgb(115, 18, 40)
HSLhsl(346, 73%, 26%)
HSVhsv(346, 84%, 45%)
CMYKcmyk(0%, 84.3%, 65.2%, 54.9%)
CIE-LABlab(24.42, 41.83, 13.46)
CIE-LCHlch(24.42, 43.95, 17.84°)
OKLaboklab(36.49% 0.1255 0.0327)
OKLCHoklch(36.49% 0.13 14.6)
XYZxyz(7.6704, 4.2318, 2.4200)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731228 #12735D
analogous
#731258 #731228 #732C12
triadic
#731228 #287312 #122873
tetradic
#731228 #587312 #12735D #2C1273
square
#731228 #587312 #12735D #2C1273
split-complementary
#731228 #12732C #125873
monochromatic
#1A0409 #3E0A16 #731228 #A81A3A #DD234D

Accessibility & contrast

On white

11.37
#731228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#731228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731228
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731228#FFFFFF#000000##FFFFFF
##7312281.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D28
Deuteranopia (green-blind)
#474125
Tritanopia (blue-blind)
#7F001C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #731228;
/* rgb */ color: rgb(115, 18, 40);
/* oklch */ color: oklch(36.5% 0.130 14.6);
Tailwind
colors: {
  custom: {
    50: '#a25c61',
    500: '#731228',
    950: '#000000',
  },
}
SCSS
$custom: #731228;
$custom-light: #a25c61;
$custom-dark: #000000;
JSON
{
  "hex": "#731228",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 346.392,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36493,
    "c": 0.1297,
    "h": 14.6
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#731228
secondary
#37AA90
accent
#F0C638
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100405
muted
#7F7979

Preview Lab

Preview with #731228

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

Preview Lab → · Contrast checker → · Palette generator →

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