#330828#330828

#330828 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.080 H 340.0°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#330828
RGBrgb(51, 8, 40)
HSLhsl(315, 73%, 12%)
HSVhsv(315, 84%, 20%)
CMYKcmyk(0%, 84.3%, 21.6%, 80%)
CIE-LABlab(9.25, 25.32, -10.19)
CIE-LCHlch(9.25, 27.29, 338.08°)
OKLaboklab(22.82% 0.0754 -0.0275)
OKLCHoklch(22.82% 0.08 340)
XYZxyz(1.8351, 1.0309, 2.1094)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330828 #083313
analogous
#290833 #330828 #330813
triadic
#330828 #283308 #082833
tetradic
#330828 #332908 #083313 #081333
square
#330828 #332908 #083313 #081333
split-complementary
#330828 #133308 #083329
monochromatic
#1A0415 #1A0415 #330828 #681051 #9D197B

Accessibility & contrast

On white

17.41
#330828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#330828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330828
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330828#FFFFFF#000000##FFFFFF
##3308281.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1629
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#370916
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330828;
/* rgb */ color: rgb(51, 8, 40);
/* oklch */ color: oklch(22.8% 0.080 340.0);
Tailwind
colors: {
  custom: {
    50: '#6d4c62',
    500: '#330828',
    950: '#000000',
  },
}
SCSS
$custom: #330828;
$custom-light: #6d4c62;
$custom-dark: #000000;
JSON
{
  "hex": "#330828",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 40
  },
  "hsl": {
    "h": 315.349,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22824,
    "c": 0.08026,
    "h": 340
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#330828
secondary
#257239
accent
#F06738
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #330828

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

Preview Lab → · Contrast checker → · Palette generator →

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