#40232B#40232B

#40232B is a dark, muted pink. Relative luminance 0.025; OKLCH L 29.7% C 0.046 H 2.4°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#40232B
RGBrgb(64, 35, 43)
HSLhsl(343, 29%, 19%)
HSVhsv(343, 45%, 25%)
CMYKcmyk(0%, 45.3%, 32.8%, 74.9%)
CIE-LABlab(17.77, 15.08, 0.66)
CIE-LCHlch(17.77, 15.10, 2.51°)
OKLaboklab(29.7% 0.0456 0.0019)
OKLCHoklch(29.7% 0.046 2.4)
XYZxyz(3.1515, 2.4667, 2.5952)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40232B #234038
analogous
#40233A #40232B #402A23
triadic
#40232B #2B4023 #232B40
tetradic
#40232B #3A4023 #234038 #2A2340
square
#40232B #3A4023 #234038 #2A2340
split-complementary
#40232B #23402A #233A40
monochromatic
#140B0D #180D10 #40232B #683946 #8F4E60

Accessibility & contrast

On white

14.06
#40232B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#40232B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40232B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40232B#FFFFFF#000000##FFFFFF
##40232B1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#2E2E2A
Tritanopia (blue-blind)
#452126
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #40232b;
/* rgb */ color: rgb(64, 35, 43);
/* oklch */ color: oklch(29.7% 0.046 2.4);
Tailwind
colors: {
  custom: {
    50: '#765e64',
    500: '#40232b',
    950: '#000000',
  },
}
SCSS
$custom: #40232b;
$custom-light: #765e64;
$custom-dark: #000000;
JSON
{
  "hex": "#40232b",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 43
  },
  "hsl": {
    "h": 343.448,
    "s": 29.293,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29695,
    "c": 0.04567,
    "h": 2.4
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#40232B
secondary
#4C7368
accent
#C6AA62
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#080405
muted
#7B7979

Preview Lab

Preview with #40232B

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

Preview Lab → · Contrast checker → · Palette generator →

#40232B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva