#40263A#40263A

#40263A is a dark, muted pink. Relative luminance 0.028; OKLCH L 30.9% C 0.050 H 335.6°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#40263A
RGBrgb(64, 38, 58)
HSLhsl(314, 25%, 20%)
HSVhsv(314, 41%, 25%)
CMYKcmyk(0%, 40.6%, 9.4%, 74.9%)
CIE-LABlab(19.15, 15.97, -7.78)
CIE-LCHlch(19.15, 17.76, 334.03°)
OKLaboklab(30.93% 0.0459 -0.0208)
OKLCHoklch(30.93% 0.05 335.6)
XYZxyz(3.5712, 2.7819, 4.3510)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40263A #26402C
analogous
#392640 #40263A #40262D
triadic
#40263A #3A4026 #263A40
tetradic
#40263A #403926 #26402C #262D40
square
#40263A #403926 #26402C #262D40
split-complementary
#40263A #2D4026 #264039
monochromatic
#130B11 #1A0F17 #40263A #663D5D #8D5480

Accessibility & contrast

On white

13.49
#40263A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#40263A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40263A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40263A#FFFFFF#000000##FFFFFF
##40263A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C3B
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#43272D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #40263a;
/* rgb */ color: rgb(64, 38, 58);
/* oklch */ color: oklch(30.9% 0.050 335.6);
Tailwind
colors: {
  custom: {
    50: '#756170',
    500: '#40263a',
    950: '#000000',
  },
}
SCSS
$custom: #40263a;
$custom-light: #756170;
$custom-dark: #000000;
JSON
{
  "hex": "#40263a",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 58
  },
  "hsl": {
    "h": 313.846,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.30933,
    "c": 0.05041,
    "h": 335.6
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#40263A
secondary
#507258
accent
#C27B66
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080507
muted
#7B797A

Preview Lab

Preview with #40263A

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

Preview Lab → · Contrast checker → · Palette generator →

#40263A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva