#400C35#400C35

#400C35 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.5% C 0.095 H 337.8°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#400C35
RGBrgb(64, 12, 53)
HSLhsl(313, 68%, 15%)
HSVhsv(313, 81%, 25%)
CMYKcmyk(0%, 81.2%, 17.2%, 74.9%)
CIE-LABlab(13.29, 29.77, -13.25)
CIE-LCHlch(13.29, 32.59, 336.02°)
OKLaboklab(26.51% 0.0879 -0.0359)
OKLCHoklch(26.51% 0.095 337.8)
XYZxyz(2.8885, 1.6102, 3.5262)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400C35 #0C4017
analogous
#310C40 #400C35 #400C1B
triadic
#400C35 #35400C #0C3540
tetradic
#400C35 #40310C #0C4017 #0C1B40
square
#400C35 #40310C #0C4017 #0C1B40
split-complementary
#400C35 #1B400C #0C4031
monochromatic
#1A0515 #1A0515 #400C35 #741660 #A71F8A

Accessibility & contrast

On white

15.89
#400C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#400C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400C35
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400C35#FFFFFF#000000##FFFFFF
##400C351.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1D36
Deuteranopia (green-blind)
#1F2534
Tritanopia (blue-blind)
#440F1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400c35;
/* rgb */ color: rgb(64, 12, 53);
/* oklch */ color: oklch(26.5% 0.095 337.8);
Tailwind
colors: {
  custom: {
    50: '#77516c',
    500: '#400c35',
    950: '#000000',
  },
}
SCSS
$custom: #400c35;
$custom-light: #77516c;
$custom-dark: #000000;
JSON
{
  "hex": "#400c35",
  "rgb": {
    "r": 64,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 312.692,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26507,
    "c": 0.09499,
    "h": 337.8
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#400C35
secondary
#2C7C3D
accent
#EB613D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400C35

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

Preview Lab → · Contrast checker → · Palette generator →

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