#240812#240812

#240812 is a very dark, muted pink. Relative luminance 0.006; OKLCH L 18.7% C 0.050 H 0.6°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#240812
RGBrgb(36, 8, 18)
HSLhsl(339, 64%, 9%)
HSVhsv(339, 78%, 14%)
CMYKcmyk(0%, 77.8%, 50%, 85.9%)
CIE-LABlab(5.35, 14.66, 0.10)
CIE-LCHlch(5.35, 14.66, 0.40°)
OKLaboklab(18.74% 0.0495 0.0006)
OKLCHoklch(18.74% 0.05 0.6)
XYZxyz(0.9236, 0.5925, 0.6379)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240812 #08241A
analogous
#240820 #240812 #240C08
triadic
#240812 #122408 #081224
tetradic
#240812 #202408 #08241A #0C0824
square
#240812 #202408 #08241A #0C0824
split-complementary
#240812 #08240C #082024
monochromatic
#19060D #19060D #240812 #56132B #881E44

Accessibility & contrast

On white

18.78
#240812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#240812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240812
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240812#FFFFFF#000000##FFFFFF
##2408121.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E12
Deuteranopia (green-blind)
#141411
Tritanopia (blue-blind)
#28060C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #240812;
/* rgb */ color: rgb(36, 8, 18);
/* oklch */ color: oklch(18.7% 0.050 0.6);
Tailwind
colors: {
  custom: {
    50: '#5f4a50',
    500: '#240812',
    950: '#000000',
  },
}
SCSS
$custom: #240812;
$custom-light: #5f4a50;
$custom-dark: #000000;
JSON
{
  "hex": "#240812",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 18
  },
  "hsl": {
    "h": 338.571,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18739,
    "c": 0.04951,
    "h": 0.6
  },
  "luminance": 0.00592
}

Semantic roles & 50–950 ramp

primary
#240812
secondary
#26624D
accent
#E7AC41
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #240812

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

Preview Lab → · Contrast checker → · Palette generator →

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