#330224#330224

#330224 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.088 H 343.7°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#330224
RGBrgb(51, 2, 36)
HSLhsl(318, 92%, 10%)
HSVhsv(318, 96%, 20%)
CMYKcmyk(0%, 96.1%, 29.4%, 80%)
CIE-LABlab(7.90, 27.87, -9.24)
CIE-LCHlch(7.90, 29.37, 341.66°)
OKLaboklab(21.78% 0.0845 -0.0247)
OKLCHoklch(21.78% 0.088 343.7)
XYZxyz(1.7055, 0.8748, 1.7478)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330224 #023311
analogous
#290233 #330224 #33020C
triadic
#330224 #243302 #022433
tetradic
#330224 #332902 #023311 #020C33
square
#330224 #332902 #023311 #020C33
split-complementary
#330224 #0C3302 #023329
monochromatic
#1D0115 #1D0115 #330224 #6E044E #A90777

Accessibility & contrast

On white

17.87
#330224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#330224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330224
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330224#FFFFFF#000000##FFFFFF
##3302241.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071225
Deuteranopia (green-blind)
#171A23
Tritanopia (blue-blind)
#370212
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330224;
/* rgb */ color: rgb(51, 2, 36);
/* oklch */ color: oklch(21.8% 0.088 343.7);
Tailwind
colors: {
  custom: {
    50: '#6d485e',
    500: '#330224',
    950: '#000000',
  },
}
SCSS
$custom: #330224;
$custom-light: #6d485e;
$custom-dark: #000000;
JSON
{
  "hex": "#330224",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 36
  },
  "hsl": {
    "h": 318.367,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21781,
    "c": 0.08806,
    "h": 343.7
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#330224
secondary
#1A7736
accent
#FF6A29
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #330224

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

Preview Lab → · Contrast checker → · Palette generator →

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