#731227#731227

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

Color values

HEX#731227
RGBrgb(115, 18, 39)
HSLhsl(347, 73%, 26%)
HSVhsv(347, 84%, 45%)
CMYKcmyk(0%, 84.3%, 66.1%, 54.9%)
CIE-LABlab(24.40, 41.77, 14.12)
CIE-LCHlch(24.40, 44.09, 18.68°)
OKLaboklab(36.47% 0.1251 0.0341)
OKLCHoklch(36.47% 0.13 15.3)
XYZxyz(7.6536, 4.2251, 2.3316)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731227 #12735E
analogous
#731257 #731227 #732D12
triadic
#731227 #277312 #122773
tetradic
#731227 #577312 #12735E #2D1273
square
#731227 #577312 #12735E #2D1273
split-complementary
#731227 #12732D #125773
monochromatic
#1A0409 #3E0A15 #731227 #A81A39 #DD234B

Accessibility & contrast

On white

11.38
#731227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#731227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731227
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731227#FFFFFF#000000##FFFFFF
##7312271.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D27
Deuteranopia (green-blind)
#474124
Tritanopia (blue-blind)
#7F001B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #731227;
/* rgb */ color: rgb(115, 18, 39);
/* oklch */ color: oklch(36.5% 0.130 15.3);
Tailwind
colors: {
  custom: {
    50: '#a25c60',
    500: '#731227',
    950: '#000000',
  },
}
SCSS
$custom: #731227;
$custom-light: #a25c60;
$custom-dark: #000000;
JSON
{
  "hex": "#731227",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 347.01,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3647,
    "c": 0.12965,
    "h": 15.3
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#731227
secondary
#37AA91
accent
#F0C838
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100405
muted
#7F7979

Preview Lab

Preview with #731227

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

Preview Lab → · Contrast checker → · Palette generator →

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