#45151F#45151F

#45151F is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.6% C 0.074 H 10.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#45151F
RGBrgb(69, 21, 31)
HSLhsl(348, 53%, 18%)
HSVhsv(348, 70%, 27%)
CMYKcmyk(0%, 69.6%, 55.1%, 72.9%)
CIE-LABlab(14.96, 24.05, 5.36)
CIE-LCHlch(14.96, 24.64, 12.57°)
OKLaboklab(27.63% 0.0729 0.0138)
OKLCHoklch(27.63% 0.074 10.7)
XYZxyz(2.9700, 1.9008, 1.5066)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45151F #15453B
analogous
#451537 #45151F #452315
triadic
#45151F #1F4515 #151F45
tetradic
#45151F #374515 #15453B #231545
square
#45151F #374515 #15453B #231545
split-complementary
#45151F #154523 #153745
monochromatic
#17070B #17070B #45151F #742334 #A33249

Accessibility & contrast

On white

15.22
#45151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#45151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45151F
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45151F#FFFFFF#000000##FFFFFF
##45151F1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1F
Deuteranopia (green-blind)
#2C291E
Tritanopia (blue-blind)
#4C0E19
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #45151f;
/* rgb */ color: rgb(69, 21, 31);
/* oklch */ color: oklch(27.6% 0.074 10.7);
Tailwind
colors: {
  custom: {
    50: '#7c555a',
    500: '#45151f',
    950: '#000000',
  },
}
SCSS
$custom: #45151f;
$custom-light: #7c555a;
$custom-dark: #000000;
JSON
{
  "hex": "#45151f",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 347.5,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27628,
    "c": 0.07417,
    "h": 10.7
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#45151F
secondary
#397D6F
accent
#DDBE4B
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #45151F

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

Preview Lab → · Contrast checker → · Palette generator →

#45151F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva