#330B28#330B28

#330B28 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.075 H 340.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#330B28
RGBrgb(51, 11, 40)
HSLhsl(317, 65%, 12%)
HSVhsv(317, 78%, 20%)
CMYKcmyk(0%, 78.4%, 21.6%, 80%)
CIE-LABlab(9.77, 23.85, -9.38)
CIE-LCHlch(9.77, 25.63, 338.54°)
OKLaboklab(23.21% 0.071 -0.0252)
OKLCHoklch(23.21% 0.075 340.4)
XYZxyz(1.8680, 1.0965, 2.1203)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B28 #0B3316
analogous
#2A0B33 #330B28 #330B14
triadic
#330B28 #28330B #0B2833
tetradic
#330B28 #332A0B #0B3316 #0B1433
square
#330B28 #332A0B #0B3316 #0B1433
split-complementary
#330B28 #14330B #0B332A
monochromatic
#190514 #190514 #330B28 #65164F #982177

Accessibility & contrast

On white

17.22
#330B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#330B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330B28
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B28#FFFFFF#000000##FFFFFF
##330B281.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1729
Deuteranopia (green-blind)
#1A1D27
Tritanopia (blue-blind)
#360C18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330b28;
/* rgb */ color: rgb(51, 11, 40);
/* oklch */ color: oklch(23.2% 0.075 340.4);
Tailwind
colors: {
  custom: {
    50: '#6c4d62',
    500: '#330b28',
    950: '#000000',
  },
}
SCSS
$custom: #330b28;
$custom-light: #6c4d62;
$custom-dark: #000000;
JSON
{
  "hex": "#330b28",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 40
  },
  "hsl": {
    "h": 316.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23207,
    "c": 0.07532,
    "h": 340.4
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#330B28
secondary
#2A703D
accent
#E86E40
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #330B28

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

Preview Lab → · Contrast checker → · Palette generator →

#330B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva