#330318#330318

#330318 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.079 H 359.3°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#330318
RGBrgb(51, 3, 24)
HSLhsl(334, 89%, 11%)
HSVhsv(334, 94%, 20%)
CMYKcmyk(0%, 94.1%, 52.9%, 80%)
CIE-LABlab(7.54, 25.66, -0.48)
CIE-LCHlch(7.54, 25.67, 358.93°)
OKLaboklab(21.33% 0.0791 -0.001)
OKLCHoklch(21.33% 0.079 359.3)
XYZxyz(1.5628, 0.8351, 0.9429)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330318 #03331E
analogous
#330330 #330318 #330603
triadic
#330318 #183303 #031833
tetradic
#330318 #303303 #03331E #060333
square
#330318 #303303 #03331E #060333
split-complementary
#330318 #033306 #033033
monochromatic
#1D020E #1D020E #330318 #6D0633 #A70A4E

Accessibility & contrast

On white

17.99
#330318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330318
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330318#FFFFFF#000000##FFFFFF
##3303181.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #330318;
/* rgb */ color: rgb(51, 3, 24);
/* oklch */ color: oklch(21.3% 0.079 359.3);
Tailwind
colors: {
  custom: {
    50: '#6e4854',
    500: '#330318',
    950: '#000000',
  },
}
SCSS
$custom: #330318;
$custom-light: #6e4854;
$custom-dark: #000000;
JSON
{
  "hex": "#330318",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 24
  },
  "hsl": {
    "h": 333.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21329,
    "c": 0.07913,
    "h": 359.3
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#330318
secondary
#1C764F
accent
#FFA129
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #330318

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

Preview Lab → · Contrast checker → · Palette generator →

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