#40092A#40092A

#40092A is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.6% C 0.091 H 348.8°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#40092A
RGBrgb(64, 9, 42)
HSLhsl(324, 75%, 14%)
HSVhsv(324, 86%, 25%)
CMYKcmyk(0%, 85.9%, 34.4%, 74.9%)
CIE-LABlab(12.30, 29.23, -6.74)
CIE-LCHlch(12.30, 30.00, 347.01°)
OKLaboklab(25.61% 0.0892 -0.0177)
OKLCHoklch(25.61% 0.091 348.8)
XYZxyz(2.6301, 1.4528, 2.3320)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40092A #09401F
analogous
#3B0940 #40092A #40090F
triadic
#40092A #2A4009 #092A40
tetradic
#40092A #403B09 #09401F #090F40
square
#40092A #403B09 #09401F #090F40
split-complementary
#40092A #0F4009 #09403B
monochromatic
#1B0412 #1B0412 #40092A #76114D #AB1870

Accessibility & contrast

On white

16.27
#40092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40092A
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40092A#FFFFFF#000000##FFFFFF
##40092A1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2B
Deuteranopia (green-blind)
#222429
Tritanopia (blue-blind)
#450618
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #40092a;
/* rgb */ color: rgb(64, 9, 42);
/* oklch */ color: oklch(25.6% 0.091 348.8);
Tailwind
colors: {
  custom: {
    50: '#784f63',
    500: '#40092a',
    950: '#000000',
  },
}
SCSS
$custom: #40092a;
$custom-light: #784f63;
$custom-dark: #000000;
JSON
{
  "hex": "#40092a",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 324,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25606,
    "c": 0.09096,
    "h": 348.8
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#40092A
secondary
#277E4A
accent
#F28136
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #40092A

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

Preview Lab → · Contrast checker → · Palette generator →

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