#40092E#40092E

#40092E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.094 H 344.5°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#40092E
RGBrgb(64, 9, 46)
HSLhsl(320, 75%, 14%)
HSVhsv(320, 86%, 25%)
CMYKcmyk(0%, 85.9%, 28.1%, 74.9%)
CIE-LABlab(12.50, 29.82, -9.39)
CIE-LCHlch(12.50, 31.26, 342.53°)
OKLaboklab(25.81% 0.0902 -0.025)
OKLCHoklch(25.81% 0.094 344.5)
XYZxyz(2.7053, 1.4829, 2.7280)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40092E #09401B
analogous
#370940 #40092E #400913
triadic
#40092E #2E4009 #092E40
tetradic
#40092E #403709 #09401B #091340
square
#40092E #403709 #09401B #091340
split-complementary
#40092E #134009 #094037
monochromatic
#1B0413 #1B0413 #40092E #761155 #AB187B

Accessibility & contrast

On white

16.20
#40092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#40092E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40092E
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40092E#FFFFFF#000000##FFFFFF
##40092E1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B2F
Deuteranopia (green-blind)
#21242D
Tritanopia (blue-blind)
#45081A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40092e;
/* rgb */ color: rgb(64, 9, 46);
/* oklch */ color: oklch(25.8% 0.094 344.5);
Tailwind
colors: {
  custom: {
    50: '#774f66',
    500: '#40092e',
    950: '#000000',
  },
}
SCSS
$custom: #40092e;
$custom-light: #774f66;
$custom-dark: #000000;
JSON
{
  "hex": "#40092e",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 319.636,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2581,
    "c": 0.09364,
    "h": 344.5
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#40092E
secondary
#277E43
accent
#F27336
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #40092E

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

Preview Lab → · Contrast checker → · Palette generator →

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