#400E34#400E34

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

Color values

HEX#400E34
RGBrgb(64, 14, 52)
HSLhsl(314, 64%, 15%)
HSVhsv(314, 78%, 25%)
CMYKcmyk(0%, 78.1%, 18.8%, 74.9%)
CIE-LABlab(13.55, 28.73, -12.13)
CIE-LCHlch(13.55, 31.19, 337.11°)
OKLaboklab(26.67% 0.0852 -0.0328)
OKLCHoklch(26.67% 0.091 338.9)
XYZxyz(2.8913, 1.6523, 3.4148)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E34 #0E401A
analogous
#330E40 #400E34 #400E1B
triadic
#400E34 #34400E #0E3440
tetradic
#400E34 #40330E #0E401A #0E1B40
square
#400E34 #40330E #0E401A #0E1B40
split-complementary
#400E34 #1B400E #0E4033
monochromatic
#190514 #190514 #400E34 #72195D #A42486

Accessibility & contrast

On white

15.78
#400E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E34
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E34#FFFFFF#000000##FFFFFF
##400E341.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111E35
Deuteranopia (green-blind)
#202633
Tritanopia (blue-blind)
#44101F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400e34;
/* rgb */ color: rgb(64, 14, 52);
/* oklch */ color: oklch(26.7% 0.091 338.9);
Tailwind
colors: {
  custom: {
    50: '#77516b',
    500: '#400e34',
    950: '#000000',
  },
}
SCSS
$custom: #400e34;
$custom-light: #77516b;
$custom-dark: #000000;
JSON
{
  "hex": "#400e34",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 314.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26672,
    "c": 0.09126,
    "h": 338.9
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#400E34
secondary
#2F7B41
accent
#E76941
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400E34

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

Preview Lab → · Contrast checker → · Palette generator →

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