#40092D#40092D

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

Color values

HEX#40092D
RGBrgb(64, 9, 45)
HSLhsl(321, 75%, 14%)
HSVhsv(321, 86%, 25%)
CMYKcmyk(0%, 85.9%, 29.7%, 74.9%)
CIE-LABlab(12.45, 29.67, -8.73)
CIE-LCHlch(12.45, 30.93, 343.60°)
OKLaboklab(25.76% 0.09 -0.0232)
OKLCHoklch(25.76% 0.093 345.6)
XYZxyz(2.6858, 1.4751, 2.6254)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40092D #09401C
analogous
#380940 #40092D #400912
triadic
#40092D #2D4009 #092D40
tetradic
#40092D #403809 #09401C #091240
square
#40092D #403809 #09401C #091240
split-complementary
#40092D #124009 #094038
monochromatic
#1B0413 #1B0413 #40092D #761153 #AB1878

Accessibility & contrast

On white

16.22
#40092D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40092D
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40092D#FFFFFF#000000##FFFFFF
##40092D1.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2E
Deuteranopia (green-blind)
#21242C
Tritanopia (blue-blind)
#45081A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #40092d;
/* rgb */ color: rgb(64, 9, 45);
/* oklch */ color: oklch(25.8% 0.093 345.6);
Tailwind
colors: {
  custom: {
    50: '#784f66',
    500: '#40092d',
    950: '#000000',
  },
}
SCSS
$custom: #40092d;
$custom-light: #784f66;
$custom-dark: #000000;
JSON
{
  "hex": "#40092d",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 45
  },
  "hsl": {
    "h": 320.727,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25758,
    "c": 0.09295,
    "h": 345.6
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#40092D
secondary
#277E45
accent
#F27736
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #40092D

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

Preview Lab → · Contrast checker → · Palette generator →

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