#400E35#400E35

#400E35 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.7% C 0.092 H 337.9°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#400E35
RGBrgb(64, 14, 53)
HSLhsl(313, 64%, 15%)
HSVhsv(313, 78%, 25%)
CMYKcmyk(0%, 78.1%, 17.2%, 74.9%)
CIE-LABlab(13.60, 28.91, -12.77)
CIE-LCHlch(13.60, 31.60, 336.17°)
OKLaboklab(26.73% 0.0853 -0.0346)
OKLCHoklch(26.73% 0.092 337.9)
XYZxyz(2.9141, 1.6614, 3.5347)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E35 #0E4019
analogous
#320E40 #400E35 #400E1C
triadic
#400E35 #35400E #0E3540
tetradic
#400E35 #40320E #0E4019 #0E1C40
square
#400E35 #40320E #0E4019 #0E1C40
split-complementary
#400E35 #1C400E #0E4032
monochromatic
#190515 #190515 #400E35 #72195F #A42488

Accessibility & contrast

On white

15.76
#400E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#400E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E35
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E35#FFFFFF#000000##FFFFFF
##400E351.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101E36
Deuteranopia (green-blind)
#202634
Tritanopia (blue-blind)
#441020
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400e35;
/* rgb */ color: rgb(64, 14, 53);
/* oklch */ color: oklch(26.7% 0.092 337.9);
Tailwind
colors: {
  custom: {
    50: '#77516c',
    500: '#400e35',
    950: '#000000',
  },
}
SCSS
$custom: #400e35;
$custom-light: #77516c;
$custom-dark: #000000;
JSON
{
  "hex": "#400e35",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 53
  },
  "hsl": {
    "h": 313.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2673,
    "c": 0.09209,
    "h": 337.9
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#400E35
secondary
#2F7B40
accent
#E76541
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400E35

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

Preview Lab → · Contrast checker → · Palette generator →

#400E35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva