#40111F#40111F

#40111F is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.074 H 5.5°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#40111F
RGBrgb(64, 17, 31)
HSLhsl(342, 58%, 16%)
HSVhsv(342, 73%, 25%)
CMYKcmyk(0%, 73.4%, 51.6%, 74.9%)
CIE-LABlab(13.17, 24.19, 2.69)
CIE-LCHlch(13.17, 24.34, 6.35°)
OKLaboklab(26.1% 0.0738 0.0072)
OKLCHoklch(26.1% 0.074 5.5)
XYZxyz(2.5623, 1.5901, 1.4681)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40111F #114032
analogous
#401136 #40111F #401A11
triadic
#40111F #1F4011 #111F40
tetradic
#40111F #364011 #114032 #1A1140
square
#40111F #364011 #114032 #1A1140
split-complementary
#40111F #11401A #113640
monochromatic
#18060C #18060C #40111F #701E36 #A12B4E

Accessibility & contrast

On white

15.93
#40111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#40111F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40111F
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40111F#FFFFFF#000000##FFFFFF
##40111F1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#27251E
Tritanopia (blue-blind)
#460B16
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40111f;
/* rgb */ color: rgb(64, 17, 31);
/* oklch */ color: oklch(26.1% 0.074 5.5);
Tailwind
colors: {
  custom: {
    50: '#78525a',
    500: '#40111f',
    950: '#000000',
  },
}
SCSS
$custom: #40111f;
$custom-light: #78525a;
$custom-dark: #000000;
JSON
{
  "hex": "#40111f",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 342.128,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26102,
    "c": 0.07411,
    "h": 5.5
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#40111F
secondary
#337965
accent
#E1B347
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40111F

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

Preview Lab → · Contrast checker → · Palette generator →

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