#330418#330418

#330418 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.077 H 359.8°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#330418
RGBrgb(51, 4, 24)
HSLhsl(334, 85%, 11%)
HSVhsv(334, 92%, 20%)
CMYKcmyk(0%, 92.2%, 52.9%, 80%)
CIE-LABlab(7.74, 25.11, -0.19)
CIE-LCHlch(7.74, 25.11, 359.56°)
OKLaboklab(21.48% 0.0773 -0.0002)
OKLCHoklch(21.48% 0.077 359.8)
XYZxyz(1.5737, 0.8568, 0.9465)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330418 #04331F
analogous
#33042F #330418 #330704
triadic
#330418 #183304 #041833
tetradic
#330418 #2F3304 #04331F #070433
square
#330418 #2F3304 #04331F #070433
split-complementary
#330418 #043307 #042F33
monochromatic
#1C020D #1C020D #330418 #6C0833 #A40D4D

Accessibility & contrast

On white

17.93
#330418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#330418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330418
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330418#FFFFFF#000000##FFFFFF
##3304181.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1118
Deuteranopia (green-blind)
#1B1A17
Tritanopia (blue-blind)
#38000C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330418;
/* rgb */ color: rgb(51, 4, 24);
/* oklch */ color: oklch(21.5% 0.077 359.8);
Tailwind
colors: {
  custom: {
    50: '#6e4954',
    500: '#330418',
    950: '#000000',
  },
}
SCSS
$custom: #330418;
$custom-light: #6e4954;
$custom-dark: #000000;
JSON
{
  "hex": "#330418",
  "rgb": {
    "r": 51,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 334.468,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21477,
    "c": 0.07726,
    "h": 359.8
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#330418
secondary
#1D7550
accent
#FCA32C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #330418

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

Preview Lab → · Contrast checker → · Palette generator →

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