#330D1F#330D1F

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

Color values

HEX#330D1F
RGBrgb(51, 13, 31)
HSLhsl(332, 59%, 13%)
HSVhsv(332, 75%, 20%)
CMYKcmyk(0%, 74.5%, 39.2%, 80%)
CIE-LABlab(9.73, 21.31, -2.66)
CIE-LCHlch(9.73, 21.47, 352.89°)
OKLaboklab(23.03% 0.065 -0.0067)
OKLCHoklch(23.03% 0.065 354.1)
XYZxyz(1.7566, 1.0908, 1.4141)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D1F #0D3321
analogous
#330D32 #330D1F #330E0D
triadic
#330D1F #1F330D #0D1F33
tetradic
#330D1F #32330D #0D3321 #0E0D33
square
#330D1F #32330D #0D3321 #0E0D33
split-complementary
#330D1F #0D330E #0D3233
monochromatic
#18060F #18060F #330D1F #64193D #95265A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##330D1F#FFFFFF#000000##FFFFFF
##330D1F1.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)
#131720
Deuteranopia (green-blind)
#1D1D1E
Tritanopia (blue-blind)
#370A14
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330d1f;
/* rgb */ color: rgb(51, 13, 31);
/* oklch */ color: oklch(23.0% 0.065 354.1);
Tailwind
colors: {
  custom: {
    50: '#6d4e5a',
    500: '#330d1f',
    950: '#000000',
  },
}
SCSS
$custom: #330d1f;
$custom-light: #6d4e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#330d1f",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 331.579,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23034,
    "c": 0.06532,
    "h": 354.1
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#330D1F
secondary
#2E6E50
accent
#E39845
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #330D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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