#400E30#400E30

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

Color values

HEX#400E30
RGBrgb(64, 14, 48)
HSLhsl(319, 64%, 15%)
HSVhsv(319, 78%, 25%)
CMYKcmyk(0%, 78.1%, 25%, 74.9%)
CIE-LABlab(13.34, 28.06, -9.56)
CIE-LCHlch(13.34, 29.64, 341.19°)
OKLaboklab(26.45% 0.0843 -0.0255)
OKLCHoklch(26.45% 0.088 343.1)
XYZxyz(2.8050, 1.6177, 2.9603)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E30 #0E401E
analogous
#370E40 #400E30 #400E17
triadic
#400E30 #30400E #0E3040
tetradic
#400E30 #40370E #0E401E #0E1740
square
#400E30 #40370E #0E401E #0E1740
split-complementary
#400E30 #17400E #0E4037
monochromatic
#190513 #190513 #400E30 #721956 #A4247B

Accessibility & contrast

On white

15.87
#400E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E30
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E30#FFFFFF#000000##FFFFFF
##400E301.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131D31
Deuteranopia (green-blind)
#22252F
Tritanopia (blue-blind)
#450E1D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400e30;
/* rgb */ color: rgb(64, 14, 48);
/* oklch */ color: oklch(26.5% 0.088 343.1);
Tailwind
colors: {
  custom: {
    50: '#775168',
    500: '#400e30',
    950: '#000000',
  },
}
SCSS
$custom: #400e30;
$custom-light: #775168;
$custom-dark: #000000;
JSON
{
  "hex": "#400e30",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 48
  },
  "hsl": {
    "h": 319.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26454,
    "c": 0.08809,
    "h": 343.1
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#400E30
secondary
#2F7B47
accent
#E77641
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400E30

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

Preview Lab → · Contrast checker → · Palette generator →

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