#330728#330728

#330728 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.082 H 339.8°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#330728
RGBrgb(51, 7, 40)
HSLhsl(315, 76%, 11%)
HSVhsv(315, 86%, 20%)
CMYKcmyk(0%, 86.3%, 21.6%, 80%)
CIE-LABlab(9.07, 25.82, -10.47)
CIE-LCHlch(9.07, 27.86, 337.94°)
OKLaboklab(22.7% 0.0769 -0.0283)
OKLCHoklch(22.7% 0.082 339.8)
XYZxyz(1.8243, 1.0091, 2.1058)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330728 #073312
analogous
#280733 #330728 #330712
triadic
#330728 #283307 #072833
tetradic
#330728 #332807 #073312 #071233
square
#330728 #332807 #073312 #071233
split-complementary
#330728 #123307 #073328
monochromatic
#1B0415 #1B0415 #330728 #690E52 #9F167C

Accessibility & contrast

On white

17.47
#330728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330728
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330728#FFFFFF#000000##FFFFFF
##3307281.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #330728;
/* rgb */ color: rgb(51, 7, 40);
/* oklch */ color: oklch(22.7% 0.082 339.8);
Tailwind
colors: {
  custom: {
    50: '#6d4b62',
    500: '#330728',
    950: '#000000',
  },
}
SCSS
$custom: #330728;
$custom-light: #6d4b62;
$custom-dark: #000000;
JSON
{
  "hex": "#330728",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 315,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22695,
    "c": 0.08196,
    "h": 339.8
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#330728
secondary
#237337
accent
#F26535
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #330728

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

Preview Lab → · Contrast checker → · Palette generator →

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