#330312#330312

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

Color values

HEX#330312
RGBrgb(51, 3, 18)
HSLhsl(341, 89%, 11%)
HSVhsv(341, 94%, 20%)
CMYKcmyk(0%, 94.1%, 64.7%, 80%)
CIE-LABlab(7.34, 25.00, 3.37)
CIE-LCHlch(7.34, 25.23, 7.67°)
OKLaboklab(21.11% 0.0765 0.0101)
OKLCHoklch(21.11% 0.077 7.5)
XYZxyz(1.5071, 0.8128, 0.6497)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330312 #033324
analogous
#33032A #330312 #330C03
triadic
#330312 #123303 #031233
tetradic
#330312 #2A3303 #033324 #0C0333
square
#330312 #2A3303 #033324 #0C0333
split-complementary
#330312 #03330C #032A33
monochromatic
#1D020A #1D020A #330312 #6D0626 #A70A3B

Accessibility & contrast

On white

18.06
#330312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330312
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330312#FFFFFF#000000##FFFFFF
##3303121.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1012
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#390009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #330312;
/* rgb */ color: rgb(51, 3, 18);
/* oklch */ color: oklch(21.1% 0.077 7.5);
Tailwind
colors: {
  custom: {
    50: '#6e484f',
    500: '#330312',
    950: '#000000',
  },
}
SCSS
$custom: #330312;
$custom-light: #6e484f;
$custom-dark: #000000;
JSON
{
  "hex": "#330312",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 341.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21106,
    "c": 0.07714,
    "h": 7.5
  },
  "luminance": 0.00813
}

Semantic roles & 50–950 ramp

primary
#330312
secondary
#1C765A
accent
#FFBC29
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #330312

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

Preview Lab → · Contrast checker → · Palette generator →

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