#40293B#40293B

#40293B is a dark, muted pink. Relative luminance 0.030; OKLCH L 31.6% C 0.045 H 334.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#40293B
RGBrgb(64, 41, 59)
HSLhsl(313, 22%, 21%)
HSVhsv(313, 36%, 25%)
CMYKcmyk(0%, 35.9%, 7.8%, 74.9%)
CIE-LABlab(20.01, 14.19, -7.16)
CIE-LCHlch(20.01, 15.89, 333.22°)
OKLaboklab(31.6% 0.0406 -0.0192)
OKLCHoklch(31.6% 0.045 334.7)
XYZxyz(3.6967, 2.9918, 4.5196)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40293B #29402E
analogous
#392940 #40293B #40292F
triadic
#40293B #3B4029 #293B40
tetradic
#40293B #403929 #29402E #292F40
square
#40293B #403929 #29402E #292F40
split-complementary
#40293B #2F4029 #294039
monochromatic
#130C11 #1B1119 #40293B #65415D #8B5980

Accessibility & contrast

On white

13.14
#40293B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#40293B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40293B
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40293B#FFFFFF#000000##FFFFFF
##40293B1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3C
Deuteranopia (green-blind)
#2F323A
Tritanopia (blue-blind)
#422A2F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #40293b;
/* rgb */ color: rgb(64, 41, 59);
/* oklch */ color: oklch(31.6% 0.045 334.7);
Tailwind
colors: {
  custom: {
    50: '#756371',
    500: '#40293b',
    950: '#000000',
  },
}
SCSS
$custom: #40293b;
$custom-light: #756371;
$custom-dark: #000000;
JSON
{
  "hex": "#40293b",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 313.043,
    "s": 21.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31603,
    "c": 0.04487,
    "h": 334.7
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#40293B
secondary
#53715A
accent
#BE7C69
background
#F7F5F6
surface
#EDEAEC
border
#C8C6C7
text
#080507
muted
#7B797A

Preview Lab

Preview with #40293B

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

Preview Lab → · Contrast checker → · Palette generator →

#40293B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva