#330217#330217

#330217 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.081 H 0.1°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#330217
RGBrgb(51, 2, 23)
HSLhsl(334, 92%, 10%)
HSVhsv(334, 96%, 20%)
CMYKcmyk(0%, 96.1%, 54.9%, 80%)
CIE-LABlab(7.31, 26.09, -0.06)
CIE-LCHlch(7.31, 26.09, 359.86°)
OKLaboklab(21.14% 0.0806 0.0001)
OKLCHoklch(21.14% 0.081 0.1)
XYZxyz(1.5417, 0.8093, 0.8855)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330217 #02331E
analogous
#33022F #330217 #330602
triadic
#330217 #173302 #021733
tetradic
#330217 #2F3302 #02331E #060233
square
#330217 #2F3302 #02331E #060233
split-complementary
#330217 #023306 #022F33
monochromatic
#1D010D #1D010D #330217 #6E0432 #A9074C

Accessibility & contrast

On white

18.08
#330217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#330217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330217
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330217#FFFFFF#000000##FFFFFF
##3302171.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1018
Deuteranopia (green-blind)
#1B1A16
Tritanopia (blue-blind)
#38000A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #330217;
/* rgb */ color: rgb(51, 2, 23);
/* oklch */ color: oklch(21.1% 0.081 0.1);
Tailwind
colors: {
  custom: {
    50: '#6e4853',
    500: '#330217',
    950: '#000000',
  },
}
SCSS
$custom: #330217;
$custom-light: #6e4853;
$custom-dark: #000000;
JSON
{
  "hex": "#330217",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 334.286,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21138,
    "c": 0.08063,
    "h": 0.1
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#330217
secondary
#1A774F
accent
#FFA329
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #330217

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

Preview Lab → · Contrast checker → · Palette generator →

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