#400933#400933

#400933 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.1% C 0.097 H 339.5°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#400933
RGBrgb(64, 9, 51)
HSLhsl(314, 75%, 14%)
HSVhsv(314, 86%, 25%)
CMYKcmyk(0%, 85.9%, 20.3%, 74.9%)
CIE-LABlab(12.76, 30.62, -12.62)
CIE-LCHlch(12.76, 33.12, 337.60°)
OKLaboklab(26.09% 0.0912 -0.0341)
OKLCHoklch(26.09% 0.097 339.5)
XYZxyz(2.8097, 1.5247, 3.2776)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400933 #094016
analogous
#320940 #400933 #400918
triadic
#400933 #334009 #093340
tetradic
#400933 #403209 #094016 #091840
square
#400933 #403209 #094016 #091840
split-complementary
#400933 #184009 #094032
monochromatic
#1B0415 #1B0415 #400933 #76115E #AB1889

Accessibility & contrast

On white

16.09
#400933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400933
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400933#FFFFFF#000000##FFFFFF
##4009331.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C34
Deuteranopia (green-blind)
#1F2432
Tritanopia (blue-blind)
#440B1D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400933;
/* rgb */ color: rgb(64, 9, 51);
/* oklch */ color: oklch(26.1% 0.097 339.5);
Tailwind
colors: {
  custom: {
    50: '#774f6a',
    500: '#400933',
    950: '#000000',
  },
}
SCSS
$custom: #400933;
$custom-light: #774f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#400933",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 314.182,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26089,
    "c": 0.09737,
    "h": 339.5
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#400933
secondary
#277E3B
accent
#F26236
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400933

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

Preview Lab → · Contrast checker → · Palette generator →

#400933 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva