#40262E#40262E

#40262E is a dark, muted pink. Relative luminance 0.027; OKLCH L 30.4% C 0.041 H 359.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#40262E
RGBrgb(64, 38, 46)
HSLhsl(342, 25%, 20%)
HSVhsv(342, 41%, 25%)
CMYKcmyk(0%, 40.6%, 28.1%, 74.9%)
CIE-LABlab(18.69, 13.62, -0.10)
CIE-LCHlch(18.69, 13.62, 359.56°)
OKLaboklab(30.43% 0.041 -0.0001)
OKLCHoklch(30.43% 0.041 359.9)
XYZxyz(3.3007, 2.6737, 2.9265)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40262E #264038
analogous
#40263B #40262E #402B26
triadic
#40262E #2E4026 #262E40
tetradic
#40262E #3B4026 #264038 #2B2640
square
#40262E #3B4026 #264038 #2B2640
split-complementary
#40262E #26402B #263B40
monochromatic
#130B0E #1A0F12 #40262E #663D4A #8D5465

Accessibility & contrast

On white

13.68
#40262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#40262E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40262E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40262E#FFFFFF#000000##FFFFFF
##40262E1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B2E
Deuteranopia (green-blind)
#302F2D
Tritanopia (blue-blind)
#442429
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #40262e;
/* rgb */ color: rgb(64, 38, 46);
/* oklch */ color: oklch(30.4% 0.041 359.9);
Tailwind
colors: {
  custom: {
    50: '#756066',
    500: '#40262e',
    950: '#000000',
  },
}
SCSS
$custom: #40262e;
$custom-light: #756066;
$custom-dark: #000000;
JSON
{
  "hex": "#40262e",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 341.538,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.3043,
    "c": 0.04104,
    "h": 359.9
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#40262E
secondary
#507268
accent
#C2A666
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080506
muted
#7B797A

Preview Lab

Preview with #40262E

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

Preview Lab → · Contrast checker → · Palette generator →

#40262E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva