#401830#401830

#401830 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 27.9% C 0.071 H 345.7°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#401830
RGBrgb(64, 24, 48)
HSLhsl(324, 45%, 17%)
HSVhsv(324, 63%, 25%)
CMYKcmyk(0%, 62.5%, 25%, 74.9%)
CIE-LABlab(15.26, 22.83, -6.62)
CIE-LCHlch(15.26, 23.77, 343.82°)
OKLaboklab(27.87% 0.0684 -0.0175)
OKLCHoklch(27.87% 0.071 345.7)
XYZxyz(2.9746, 1.9569, 3.0168)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401830 #184028
analogous
#3C1840 #401830 #40181C
triadic
#401830 #304018 #183040
tetradic
#401830 #403C18 #184028 #181C40
square
#401830 #403C18 #184028 #181C40
split-complementary
#401830 #1C4018 #18403C
monochromatic
#160811 #160811 #401830 #6D2951 #993973

Accessibility & contrast

On white

15.09
#401830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#401830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401830
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401830#FFFFFF#000000##FFFFFF
##4018301.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2231
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#441721
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401830;
/* rgb */ color: rgb(64, 24, 48);
/* oklch */ color: oklch(27.9% 0.071 345.7);
Tailwind
colors: {
  custom: {
    50: '#765768',
    500: '#401830',
    950: '#000000',
  },
}
SCSS
$custom: #401830;
$custom-light: #765768;
$custom-dark: #000000;
JSON
{
  "hex": "#401830",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 324,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2787,
    "c": 0.07062,
    "h": 345.7
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#401830
secondary
#3D7754
accent
#D58753
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401830

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

Preview Lab → · Contrast checker → · Palette generator →

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