#400830#400830

#400830 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.096 H 342.3°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#400830
RGBrgb(64, 8, 48)
HSLhsl(317, 78%, 14%)
HSVhsv(317, 88%, 25%)
CMYKcmyk(0%, 87.5%, 25%, 74.9%)
CIE-LABlab(12.46, 30.53, -10.91)
CIE-LCHlch(12.46, 32.42, 340.34°)
OKLaboklab(25.82% 0.0919 -0.0293)
OKLCHoklch(25.82% 0.096 342.3)
XYZxyz(2.7348, 1.4773, 2.9369)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400830 #084018
analogous
#340840 #400830 #400814
triadic
#400830 #304008 #083040
tetradic
#400830 #403408 #084018 #081440
square
#400830 #403408 #084018 #081440
split-complementary
#400830 #144008 #084034
monochromatic
#1B0314 #1B0314 #400830 #760F59 #AD1682

Accessibility & contrast

On white

16.21
#400830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400830
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400830#FFFFFF#000000##FFFFFF
##4008301.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1B31
Deuteranopia (green-blind)
#20242F
Tritanopia (blue-blind)
#45091B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400830;
/* rgb */ color: rgb(64, 8, 48);
/* oklch */ color: oklch(25.8% 0.096 342.3);
Tailwind
colors: {
  custom: {
    50: '#774f68',
    500: '#400830',
    950: '#000000',
  },
}
SCSS
$custom: #400830;
$custom-light: #774f68;
$custom-dark: #000000;
JSON
{
  "hex": "#400830",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 317.143,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25818,
    "c": 0.09643,
    "h": 342.3
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#400830
secondary
#257E3F
accent
#F46B34
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400830

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

Preview Lab → · Contrast checker → · Palette generator →

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