#330226#330226

#330226 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.089 H 341.4°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#330226
RGBrgb(51, 2, 38)
HSLhsl(316, 92%, 10%)
HSVhsv(316, 96%, 20%)
CMYKcmyk(0%, 96.1%, 25.5%, 80%)
CIE-LABlab(8.02, 28.18, -10.59)
CIE-LCHlch(8.02, 30.11, 339.41°)
OKLaboklab(21.9% 0.0848 -0.0285)
OKLCHoklch(21.9% 0.09 341.4)
XYZxyz(1.7369, 0.8874, 1.9132)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330226 #02330F
analogous
#270233 #330226 #33020E
triadic
#330226 #263302 #022633
tetradic
#330226 #332702 #02330F #020E33
square
#330226 #332702 #02330F #020E33
split-complementary
#330226 #0E3302 #023327
monochromatic
#1D0116 #1D0116 #330226 #6E0452 #A9077E

Accessibility & contrast

On white

17.84
#330226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330226
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330226#FFFFFF#000000##FFFFFF
##3302261.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061227
Deuteranopia (green-blind)
#161A25
Tritanopia (blue-blind)
#370313
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #330226;
/* rgb */ color: rgb(51, 2, 38);
/* oklch */ color: oklch(21.9% 0.089 341.4);
Tailwind
colors: {
  custom: {
    50: '#6d4860',
    500: '#330226',
    950: '#000000',
  },
}
SCSS
$custom: #330226;
$custom-light: #6d4860;
$custom-dark: #000000;
JSON
{
  "hex": "#330226",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 315.918,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.219,
    "c": 0.0895,
    "h": 341.4
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#330226
secondary
#1A7732
accent
#FF6229
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #330226

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

Preview Lab → · Contrast checker → · Palette generator →

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