#400F26#400F26

#400F26 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.080 H 355.2°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#400F26
RGBrgb(64, 15, 38)
HSLhsl(332, 62%, 15%)
HSVhsv(332, 77%, 25%)
CMYKcmyk(0%, 76.6%, 40.6%, 74.9%)
CIE-LABlab(13.06, 26.08, -2.65)
CIE-LCHlch(13.06, 26.22, 354.19°)
OKLaboklab(26.1% 0.0798 -0.0067)
OKLCHoklch(26.1% 0.08 355.2)
XYZxyz(2.6352, 1.5719, 1.9980)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F26 #0F4029
analogous
#400F3E #400F26 #40110F
triadic
#400F26 #26400F #0F2640
tetradic
#400F26 #3E400F #0F4029 #110F40
square
#400F26 #3E400F #0F4029 #110F40
split-complementary
#400F26 #0F4011 #0F3E40
monochromatic
#19060F #19060F #400F26 #721B43 #A32661

Accessibility & contrast

On white

15.98
#400F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F26
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F26#FFFFFF#000000##FFFFFF
##400F261.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C27
Deuteranopia (green-blind)
#252525
Tritanopia (blue-blind)
#460B19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400f26;
/* rgb */ color: rgb(64, 15, 38);
/* oklch */ color: oklch(26.1% 0.080 355.2);
Tailwind
colors: {
  custom: {
    50: '#785160',
    500: '#400f26',
    950: '#000000',
  },
}
SCSS
$custom: #400f26;
$custom-light: #785160;
$custom-dark: #000000;
JSON
{
  "hex": "#400f26",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 331.837,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26101,
    "c": 0.08007,
    "h": 355.2
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#400F26
secondary
#307A58
accent
#E59943
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400F26

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

Preview Lab → · Contrast checker → · Palette generator →

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