#40092F#40092F

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

Color values

HEX#40092F
RGBrgb(64, 9, 47)
HSLhsl(319, 75%, 14%)
HSVhsv(319, 86%, 25%)
CMYKcmyk(0%, 85.9%, 26.6%, 74.9%)
CIE-LABlab(12.55, 29.97, -10.04)
CIE-LCHlch(12.55, 31.61, 341.48°)
OKLaboklab(25.86% 0.0905 -0.0268)
OKLCHoklch(25.86% 0.094 343.5)
XYZxyz(2.7252, 1.4909, 2.8330)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40092F #09401A
analogous
#360940 #40092F #400914
triadic
#40092F #2F4009 #092F40
tetradic
#40092F #403609 #09401A #091440
square
#40092F #403609 #09401A #091440
split-complementary
#40092F #144009 #094036
monochromatic
#1B0414 #1B0414 #40092F #761156 #AB187E

Accessibility & contrast

On white

16.18
#40092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40092F
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40092F#FFFFFF#000000##FFFFFF
##40092F1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B30
Deuteranopia (green-blind)
#20242E
Tritanopia (blue-blind)
#45091B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40092f;
/* rgb */ color: rgb(64, 9, 47);
/* oklch */ color: oklch(25.9% 0.094 343.5);
Tailwind
colors: {
  custom: {
    50: '#774f67',
    500: '#40092f',
    950: '#000000',
  },
}
SCSS
$custom: #40092f;
$custom-light: #774f67;
$custom-dark: #000000;
JSON
{
  "hex": "#40092f",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 318.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25864,
    "c": 0.09436,
    "h": 343.5
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#40092F
secondary
#277E42
accent
#F27036
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #40092F

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

Preview Lab → · Contrast checker → · Palette generator →

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