#40092C#40092C

#40092C is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.7% C 0.092 H 346.6°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#40092C
RGBrgb(64, 9, 44)
HSLhsl(322, 75%, 14%)
HSVhsv(322, 86%, 25%)
CMYKcmyk(0%, 85.9%, 31.2%, 74.9%)
CIE-LABlab(12.40, 29.52, -8.07)
CIE-LCHlch(12.40, 30.60, 344.71°)
OKLaboklab(25.71% 0.0898 -0.0214)
OKLCHoklch(25.71% 0.092 346.6)
XYZxyz(2.6668, 1.4675, 2.5252)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40092C #09401D
analogous
#390940 #40092C #400911
triadic
#40092C #2C4009 #092C40
tetradic
#40092C #403909 #09401D #091140
square
#40092C #403909 #09401D #091140
split-complementary
#40092C #114009 #094039
monochromatic
#1B0412 #1B0412 #40092C #761151 #AB1876

Accessibility & contrast

On white

16.24
#40092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#40092C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40092C
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40092C#FFFFFF#000000##FFFFFF
##40092C1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2D
Deuteranopia (green-blind)
#21242B
Tritanopia (blue-blind)
#450719
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #40092c;
/* rgb */ color: rgb(64, 9, 44);
/* oklch */ color: oklch(25.7% 0.092 346.6);
Tailwind
colors: {
  custom: {
    50: '#784f65',
    500: '#40092c',
    950: '#000000',
  },
}
SCSS
$custom: #40092c;
$custom-light: #784f65;
$custom-dark: #000000;
JSON
{
  "hex": "#40092c",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 321.818,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25706,
    "c": 0.09228,
    "h": 346.6
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#40092C
secondary
#277E47
accent
#F27A36
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #40092C

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

Preview Lab → · Contrast checker → · Palette generator →

#40092C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva