#400F30#400F30

#400F30 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.6% C 0.087 H 343.3°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#400F30
RGBrgb(64, 15, 48)
HSLhsl(320, 62%, 15%)
HSVhsv(320, 77%, 25%)
CMYKcmyk(0%, 76.6%, 25%, 74.9%)
CIE-LABlab(13.50, 27.60, -9.30)
CIE-LCHlch(13.50, 29.12, 341.37°)
OKLaboklab(26.58% 0.0829 -0.0248)
OKLCHoklch(26.58% 0.087 343.3)
XYZxyz(2.8188, 1.6453, 2.9649)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F30 #0F401F
analogous
#370F40 #400F30 #400F17
triadic
#400F30 #30400F #0F3040
tetradic
#400F30 #40370F #0F401F #0F1740
square
#400F30 #40370F #0F401F #0F1740
split-complementary
#400F30 #17400F #0F4037
monochromatic
#190613 #190613 #400F30 #721B55 #A3267A

Accessibility & contrast

On white

15.80
#400F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#400F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400F30
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F30#FFFFFF#000000##FFFFFF
##400F301.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D31
Deuteranopia (green-blind)
#22262F
Tritanopia (blue-blind)
#450F1D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400f30;
/* rgb */ color: rgb(64, 15, 48);
/* oklch */ color: oklch(26.6% 0.087 343.3);
Tailwind
colors: {
  custom: {
    50: '#775268',
    500: '#400f30',
    950: '#000000',
  },
}
SCSS
$custom: #400f30;
$custom-light: #775268;
$custom-dark: #000000;
JSON
{
  "hex": "#400f30",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 319.592,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26575,
    "c": 0.08654,
    "h": 343.3
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#400F30
secondary
#307A49
accent
#E57843
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400F30

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

Preview Lab → · Contrast checker → · Palette generator →

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