#402630#402630

#402630 is a dark, muted pink. Relative luminance 0.027; OKLCH L 30.5% C 0.042 H 355.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#402630
RGBrgb(64, 38, 48)
HSLhsl(337, 25%, 20%)
HSVhsv(337, 41%, 25%)
CMYKcmyk(0%, 40.6%, 25%, 74.9%)
CIE-LABlab(18.76, 13.98, -1.40)
CIE-LCHlch(18.76, 14.05, 354.28°)
OKLaboklab(30.51% 0.0419 -0.0035)
OKLCHoklch(30.51% 0.042 355.2)
XYZxyz(3.3410, 2.6898, 3.1389)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402630 #264036
analogous
#40263D #402630 #402926
triadic
#402630 #304026 #263040
tetradic
#402630 #3D4026 #264036 #292640
square
#402630 #3D4026 #264036 #292640
split-complementary
#402630 #264029 #263D40
monochromatic
#130B0E #1A0F13 #402630 #663D4D #8D546A

Accessibility & contrast

On white

13.65
#402630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#402630 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402630
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402630#FFFFFF#000000##FFFFFF
##4026301.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B30
Deuteranopia (green-blind)
#2F2F2F
Tritanopia (blue-blind)
#442529
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402630;
/* rgb */ color: rgb(64, 38, 48);
/* oklch */ color: oklch(30.5% 0.042 355.2);
Tailwind
colors: {
  custom: {
    50: '#756068',
    500: '#402630',
    950: '#000000',
  },
}
SCSS
$custom: #402630;
$custom-light: #756068;
$custom-dark: #000000;
JSON
{
  "hex": "#402630",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 48
  },
  "hsl": {
    "h": 336.923,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.30506,
    "c": 0.04207,
    "h": 355.2
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#402630
secondary
#507265
accent
#C29F66
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080506
muted
#7B797A

Preview Lab

Preview with #402630

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

Preview Lab → · Contrast checker → · Palette generator →

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