#40232F#40232F

#40232F is a dark, muted pink. Relative luminance 0.025; OKLCH L 29.8% C 0.048 H 354.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#40232F
RGBrgb(64, 35, 47)
HSLhsl(335, 29%, 19%)
HSVhsv(335, 45%, 25%)
CMYKcmyk(0%, 45.3%, 26.6%, 74.9%)
CIE-LABlab(17.91, 15.78, -1.95)
CIE-LCHlch(17.91, 15.90, 352.95°)
OKLaboklab(29.85% 0.0474 -0.005)
OKLCHoklch(29.85% 0.048 354)
XYZxyz(3.2285, 2.4975, 3.0008)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40232F #234034
analogous
#40233E #40232F #402623
triadic
#40232F #2F4023 #232F40
tetradic
#40232F #3E4023 #234034 #262340
square
#40232F #3E4023 #234034 #262340
split-complementary
#40232F #234026 #233E40
monochromatic
#140B0F #180D12 #40232F #68394C #8F4E69

Accessibility & contrast

On white

14.01
#40232F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#40232F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40232F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40232F#FFFFFF#000000##FFFFFF
##40232F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26292F
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#442227
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #40232f;
/* rgb */ color: rgb(64, 35, 47);
/* oklch */ color: oklch(29.8% 0.048 354.0);
Tailwind
colors: {
  custom: {
    50: '#765e67',
    500: '#40232f',
    950: '#000000',
  },
}
SCSS
$custom: #40232f;
$custom-light: #765e67;
$custom-dark: #000000;
JSON
{
  "hex": "#40232f",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 47
  },
  "hsl": {
    "h": 335.172,
    "s": 29.293,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29848,
    "c": 0.04765,
    "h": 354
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#40232F
secondary
#4C7363
accent
#C69C62
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080406
muted
#7B797A

Preview Lab

Preview with #40232F

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

Preview Lab → · Contrast checker → · Palette generator →

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