#40262F#40262F

#40262F is a dark, muted pink. Relative luminance 0.027; OKLCH L 30.5% C 0.042 H 357.5°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#40262F
RGBrgb(64, 38, 47)
HSLhsl(339, 25%, 20%)
HSVhsv(339, 41%, 25%)
CMYKcmyk(0%, 40.6%, 26.6%, 74.9%)
CIE-LABlab(18.72, 13.79, -0.75)
CIE-LCHlch(18.72, 13.81, 356.87°)
OKLaboklab(30.47% 0.0415 -0.0018)
OKLCHoklch(30.47% 0.042 357.5)
XYZxyz(3.3206, 2.6817, 3.0315)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40262F #264037
analogous
#40263C #40262F #402A26
triadic
#40262F #2F4026 #262F40
tetradic
#40262F #3C4026 #264037 #2A2640
square
#40262F #3C4026 #264037 #2A2640
split-complementary
#40262F #26402A #263C40
monochromatic
#130B0E #1A0F13 #40262F #663D4B #8D5467

Accessibility & contrast

On white

13.67
#40262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#40262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40262F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40262F#FFFFFF#000000##FFFFFF
##40262F1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B2F
Deuteranopia (green-blind)
#302F2E
Tritanopia (blue-blind)
#442529
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #40262f;
/* rgb */ color: rgb(64, 38, 47);
/* oklch */ color: oklch(30.5% 0.042 357.5);
Tailwind
colors: {
  custom: {
    50: '#756067',
    500: '#40262f',
    950: '#000000',
  },
}
SCSS
$custom: #40262f;
$custom-light: #756067;
$custom-dark: #000000;
JSON
{
  "hex": "#40262f",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 339.231,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.30467,
    "c": 0.04152,
    "h": 357.5
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#40262F
secondary
#507266
accent
#C2A266
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080506
muted
#7B797A

Preview Lab

Preview with #40262F

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

Preview Lab → · Contrast checker → · Palette generator →

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