#400E25#400E25

#400E25 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.081 H 356.1°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#400E25
RGBrgb(64, 14, 37)
HSLhsl(332, 64%, 15%)
HSVhsv(332, 78%, 25%)
CMYKcmyk(0%, 78.1%, 42.2%, 74.9%)
CIE-LABlab(12.85, 26.42, -2.23)
CIE-LCHlch(12.85, 26.51, 355.19°)
OKLaboklab(25.93% 0.0809 -0.0055)
OKLCHoklch(25.93% 0.081 356.1)
XYZxyz(2.6055, 1.5379, 1.9095)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E25 #0E4029
analogous
#400E3E #400E25 #40100E
triadic
#400E25 #25400E #0E2540
tetradic
#400E25 #3E400E #0E4029 #100E40
square
#400E25 #3E400E #0E4029 #100E40
split-complementary
#400E25 #0E4010 #0E3E40
monochromatic
#19050F #19050F #400E25 #721942 #A4245F

Accessibility & contrast

On white

16.06
#400E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E25
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E25#FFFFFF#000000##FFFFFF
##400E251.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171B26
Deuteranopia (green-blind)
#252524
Tritanopia (blue-blind)
#460918
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e25;
/* rgb */ color: rgb(64, 14, 37);
/* oklch */ color: oklch(25.9% 0.081 356.1);
Tailwind
colors: {
  custom: {
    50: '#78515f',
    500: '#400e25',
    950: '#000000',
  },
}
SCSS
$custom: #400e25;
$custom-light: #78515f;
$custom-dark: #000000;
JSON
{
  "hex": "#400e25",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 37
  },
  "hsl": {
    "h": 332.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25933,
    "c": 0.0811,
    "h": 356.1
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#400E25
secondary
#2F7B58
accent
#E79B41
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400E25

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

Preview Lab → · Contrast checker → · Palette generator →

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