#400E23#400E23

#400E23 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.080 H 358.6°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#400E23
RGBrgb(64, 14, 35)
HSLhsl(335, 64%, 15%)
HSVhsv(335, 78%, 25%)
CMYKcmyk(0%, 78.1%, 45.3%, 74.9%)
CIE-LABlab(12.77, 26.16, -0.86)
CIE-LCHlch(12.77, 26.17, 358.13°)
OKLaboklab(25.85% 0.0801 -0.0019)
OKLCHoklch(25.85% 0.08 358.6)
XYZxyz(2.5749, 1.5257, 1.7487)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E23 #0E402B
analogous
#400E3C #400E23 #40120E
triadic
#400E23 #23400E #0E2340
tetradic
#400E23 #3C400E #0E402B #120E40
square
#400E23 #3C400E #0E402B #120E40
split-complementary
#400E23 #0E4012 #0E3C40
monochromatic
#19050E #19050E #400E23 #72193E #A4245A

Accessibility & contrast

On white

16.09
#400E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E23
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E23#FFFFFF#000000##FFFFFF
##400E231.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181B24
Deuteranopia (green-blind)
#252522
Tritanopia (blue-blind)
#460817
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e23;
/* rgb */ color: rgb(64, 14, 35);
/* oklch */ color: oklch(25.9% 0.080 358.6);
Tailwind
colors: {
  custom: {
    50: '#78515d',
    500: '#400e23',
    950: '#000000',
  },
}
SCSS
$custom: #400e23;
$custom-light: #78515d;
$custom-dark: #000000;
JSON
{
  "hex": "#400e23",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 35
  },
  "hsl": {
    "h": 334.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25852,
    "c": 0.08016,
    "h": 358.6
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#400E23
secondary
#2F7B5B
accent
#E7A141
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400E23

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

Preview Lab → · Contrast checker → · Palette generator →

#400E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva