#40293C#40293C

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

Color values

HEX#40293C
RGBrgb(64, 41, 60)
HSLhsl(310, 22%, 21%)
HSVhsv(310, 36%, 25%)
CMYKcmyk(0%, 35.9%, 6.2%, 74.9%)
CIE-LABlab(20.05, 14.40, -7.79)
CIE-LCHlch(20.05, 16.37, 331.61°)
OKLaboklab(31.65% 0.0409 -0.0209)
OKLCHoklch(31.65% 0.046 333)
XYZxyz(3.7229, 3.0023, 4.6575)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40293C #29402D
analogous
#382940 #40293C #402930
triadic
#40293C #3C4029 #293C40
tetradic
#40293C #403829 #29402D #293040
square
#40293C #403829 #29402D #293040
split-complementary
#40293C #304029 #294038
monochromatic
#130C11 #1B1119 #40293C #65415F #8B5982

Accessibility & contrast

On white

13.12
#40293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40293C
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40293C#FFFFFF#000000##FFFFFF
##40293C1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3D
Deuteranopia (green-blind)
#2E323B
Tritanopia (blue-blind)
#422A30
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #40293c;
/* rgb */ color: rgb(64, 41, 60);
/* oklch */ color: oklch(31.6% 0.046 333.0);
Tailwind
colors: {
  custom: {
    50: '#756371',
    500: '#40293c',
    950: '#000000',
  },
}
SCSS
$custom: #40293c;
$custom-light: #756371;
$custom-dark: #000000;
JSON
{
  "hex": "#40293c",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 310.435,
    "s": 21.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31648,
    "c": 0.04597,
    "h": 333
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#40293C
secondary
#537159
accent
#BE7869
background
#F7F5F6
surface
#EDEAEC
border
#C8C6C7
text
#080507
muted
#7B797A

Preview Lab

Preview with #40293C

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

Preview Lab → · Contrast checker → · Palette generator →

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