#40092B#40092B

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

Color values

HEX#40092B
RGBrgb(64, 9, 43)
HSLhsl(323, 75%, 14%)
HSVhsv(323, 86%, 25%)
CMYKcmyk(0%, 85.9%, 32.8%, 74.9%)
CIE-LABlab(12.35, 29.37, -7.41)
CIE-LCHlch(12.35, 30.29, 345.85°)
OKLaboklab(25.66% 0.0895 -0.0195)
OKLCHoklch(25.66% 0.092 347.7)
XYZxyz(2.6482, 1.4601, 2.4274)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40092B #09401E
analogous
#3A0940 #40092B #400910
triadic
#40092B #2B4009 #092B40
tetradic
#40092B #403A09 #09401E #091040
square
#40092B #403A09 #09401E #091040
split-complementary
#40092B #104009 #09403A
monochromatic
#1B0412 #1B0412 #40092B #76114F #AB1873

Accessibility & contrast

On white

16.25
#40092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40092B
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40092B#FFFFFF#000000##FFFFFF
##40092B1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2C
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#450719
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #40092b;
/* rgb */ color: rgb(64, 9, 43);
/* oklch */ color: oklch(25.7% 0.092 347.7);
Tailwind
colors: {
  custom: {
    50: '#784f64',
    500: '#40092b',
    950: '#000000',
  },
}
SCSS
$custom: #40092b;
$custom-light: #784f64;
$custom-dark: #000000;
JSON
{
  "hex": "#40092b",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 322.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25655,
    "c": 0.09161,
    "h": 347.7
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#40092B
secondary
#277E48
accent
#F27E36
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #40092B

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

Preview Lab → · Contrast checker → · Palette generator →

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