#401233#401233

#401233 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.084 H 340.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#401233
RGBrgb(64, 18, 51)
HSLhsl(317, 56%, 16%)
HSVhsv(317, 72%, 25%)
CMYKcmyk(0%, 71.9%, 20.3%, 74.9%)
CIE-LABlab(14.18, 26.64, -10.42)
CIE-LCHlch(14.18, 28.61, 338.63°)
OKLaboklab(27.12% 0.0792 -0.028)
OKLCHoklch(27.12% 0.084 340.5)
XYZxyz(2.9283, 1.7619, 3.3172)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401233 #12401F
analogous
#361240 #401233 #40121C
triadic
#401233 #334012 #123340
tetradic
#401233 #403612 #12401F #121C40
square
#401233 #403612 #12401F #121C40
split-complementary
#401233 #1C4012 #124036
monochromatic
#180713 #180713 #401233 #701F59 #A02D7F

Accessibility & contrast

On white

15.53
#401233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401233
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401233#FFFFFF#000000##FFFFFF
##4012331.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151F34
Deuteranopia (green-blind)
#232732
Tritanopia (blue-blind)
#441320
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401233;
/* rgb */ color: rgb(64, 18, 51);
/* oklch */ color: oklch(27.1% 0.084 340.5);
Tailwind
colors: {
  custom: {
    50: '#77536a',
    500: '#401233',
    950: '#000000',
  },
}
SCSS
$custom: #401233;
$custom-light: #77536a;
$custom-dark: #000000;
JSON
{
  "hex": "#401233",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 316.957,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27122,
    "c": 0.08399,
    "h": 340.5
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#401233
secondary
#357948
accent
#DF7348
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401233

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

Preview Lab → · Contrast checker → · Palette generator →

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