#400F25#400F25

#400F25 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.080 H 356.5°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#400F25
RGBrgb(64, 15, 37)
HSLhsl(333, 62%, 15%)
HSVhsv(333, 77%, 25%)
CMYKcmyk(0%, 76.6%, 42.2%, 74.9%)
CIE-LABlab(13.02, 25.95, -1.97)
CIE-LCHlch(13.02, 26.02, 355.65°)
OKLaboklab(26.06% 0.0794 -0.0049)
OKLCHoklch(26.06% 0.08 356.5)
XYZxyz(2.6193, 1.5655, 1.9141)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F25 #0F402A
analogous
#400F3D #400F25 #40110F
triadic
#400F25 #25400F #0F2540
tetradic
#400F25 #3D400F #0F402A #110F40
square
#400F25 #3D400F #0F402A #110F40
split-complementary
#400F25 #0F4011 #0F3D40
monochromatic
#19060E #19060E #400F25 #721B42 #A3265E

Accessibility & contrast

On white

15.99
#400F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F25
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F25#FFFFFF#000000##FFFFFF
##400F251.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C26
Deuteranopia (green-blind)
#252524
Tritanopia (blue-blind)
#460A18
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400f25;
/* rgb */ color: rgb(64, 15, 37);
/* oklch */ color: oklch(26.1% 0.080 356.5);
Tailwind
colors: {
  custom: {
    50: '#78515f',
    500: '#400f25',
    950: '#000000',
  },
}
SCSS
$custom: #400f25;
$custom-light: #78515f;
$custom-dark: #000000;
JSON
{
  "hex": "#400f25",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 37
  },
  "hsl": {
    "h": 333.061,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2606,
    "c": 0.07957,
    "h": 356.5
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#400F25
secondary
#307A59
accent
#E59C43
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400F25

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

Preview Lab → · Contrast checker → · Palette generator →

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