#400F35#400F35

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

Color values

HEX#400F35
RGBrgb(64, 15, 53)
HSLhsl(313, 62%, 15%)
HSVhsv(313, 77%, 25%)
CMYKcmyk(0%, 76.6%, 17.2%, 74.9%)
CIE-LABlab(13.76, 28.45, -12.52)
CIE-LCHlch(13.76, 31.08, 336.26°)
OKLaboklab(26.85% 0.084 -0.0339)
OKLCHoklch(26.85% 0.091 338)
XYZxyz(2.9278, 1.6889, 3.5393)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F35 #0F401A
analogous
#320F40 #400F35 #400F1D
triadic
#400F35 #35400F #0F3540
tetradic
#400F35 #40320F #0F401A #0F1D40
square
#400F35 #40320F #0F401A #0F1D40
split-complementary
#400F35 #1D400F #0F4032
monochromatic
#190615 #190615 #400F35 #721B5E #A32687

Accessibility & contrast

On white

15.70
#400F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#400F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400F35
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F35#FFFFFF#000000##FFFFFF
##400F351.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111E36
Deuteranopia (green-blind)
#212634
Tritanopia (blue-blind)
#441120
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400f35;
/* rgb */ color: rgb(64, 15, 53);
/* oklch */ color: oklch(26.8% 0.091 338.0);
Tailwind
colors: {
  custom: {
    50: '#77526c',
    500: '#400f35',
    950: '#000000',
  },
}
SCSS
$custom: #400f35;
$custom-light: #77526c;
$custom-dark: #000000;
JSON
{
  "hex": "#400f35",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 313.469,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26848,
    "c": 0.09055,
    "h": 338
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#400F35
secondary
#307A41
accent
#E56743
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400F35

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

Preview Lab → · Contrast checker → · Palette generator →

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