#330317#330317

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

Color values

HEX#330317
RGBrgb(51, 3, 23)
HSLhsl(335, 89%, 11%)
HSVhsv(335, 94%, 20%)
CMYKcmyk(0%, 94.1%, 54.9%, 80%)
CIE-LABlab(7.51, 25.55, 0.22)
CIE-LCHlch(7.51, 25.55, 0.50°)
OKLaboklab(21.29% 0.0787 0.0009)
OKLCHoklch(21.29% 0.079 0.6)
XYZxyz(1.5526, 0.8310, 0.8891)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330317 #03331F
analogous
#33032F #330317 #330703
triadic
#330317 #173303 #031733
tetradic
#330317 #2F3303 #03331F #070333
square
#330317 #2F3303 #03331F #070333
split-complementary
#330317 #033307 #032F33
monochromatic
#1D020D #1D020D #330317 #6D0631 #A70A4B

Accessibility & contrast

On white

18.01
#330317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330317
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330317#FFFFFF#000000##FFFFFF
##3303171.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1017
Deuteranopia (green-blind)
#1B1A16
Tritanopia (blue-blind)
#38000B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330317;
/* rgb */ color: rgb(51, 3, 23);
/* oklch */ color: oklch(21.3% 0.079 0.6);
Tailwind
colors: {
  custom: {
    50: '#6e4853',
    500: '#330317',
    950: '#000000',
  },
}
SCSS
$custom: #330317;
$custom-light: #6e4853;
$custom-dark: #000000;
JSON
{
  "hex": "#330317",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 23
  },
  "hsl": {
    "h": 335,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21289,
    "c": 0.07872,
    "h": 0.6
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#330317
secondary
#1C7650
accent
#FFA629
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #330317

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

Preview Lab → · Contrast checker → · Palette generator →

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