#330B27#330B27

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

Color values

HEX#330B27
RGBrgb(51, 11, 39)
HSLhsl(318, 65%, 12%)
HSVhsv(318, 78%, 20%)
CMYKcmyk(0%, 78.4%, 23.5%, 80%)
CIE-LABlab(9.72, 23.67, -8.71)
CIE-LCHlch(9.72, 25.22, 339.81°)
OKLaboklab(23.15% 0.0707 -0.0233)
OKLCHoklch(23.15% 0.074 341.7)
XYZxyz(1.8512, 1.0898, 2.0319)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B27 #0B3317
analogous
#2B0B33 #330B27 #330B13
triadic
#330B27 #27330B #0B2733
tetradic
#330B27 #332B0B #0B3317 #0B1333
square
#330B27 #332B0B #0B3317 #0B1333
split-complementary
#330B27 #13330B #0B332B
monochromatic
#190513 #190513 #330B27 #65164D #982174

Accessibility & contrast

On white

17.24
#330B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B27
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B27#FFFFFF#000000##FFFFFF
##330B271.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1728
Deuteranopia (green-blind)
#1A1D26
Tritanopia (blue-blind)
#370C17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330b27;
/* rgb */ color: rgb(51, 11, 39);
/* oklch */ color: oklch(23.2% 0.074 341.7);
Tailwind
colors: {
  custom: {
    50: '#6d4d61',
    500: '#330b27',
    950: '#000000',
  },
}
SCSS
$custom: #330b27;
$custom-light: #6d4d61;
$custom-dark: #000000;
JSON
{
  "hex": "#330b27",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 39
  },
  "hsl": {
    "h": 318,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23151,
    "c": 0.07449,
    "h": 341.7
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#330B27
secondary
#2A703F
accent
#E87240
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #330B27

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

Preview Lab → · Contrast checker → · Palette generator →

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