#330229#330229

#330229 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.1% C 0.092 H 338.1°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#330229
RGBrgb(51, 2, 41)
HSLhsl(312, 92%, 10%)
HSVhsv(312, 96%, 20%)
CMYKcmyk(0%, 96.1%, 19.6%, 80%)
CIE-LABlab(8.20, 28.67, -12.58)
CIE-LCHlch(8.20, 31.30, 336.31°)
OKLaboklab(22.09% 0.0852 -0.0342)
OKLCHoklch(22.09% 0.092 338.1)
XYZxyz(1.7872, 0.9075, 2.1784)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330229 #02330C
analogous
#240233 #330229 #330210
triadic
#330229 #293302 #022933
tetradic
#330229 #332402 #02330C #021033
square
#330229 #332402 #02330C #021033
split-complementary
#330229 #103302 #023324
monochromatic
#1D0118 #1D0118 #330229 #6E0458 #A90788

Accessibility & contrast

On white

17.78
#330229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330229
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330229#FFFFFF#000000##FFFFFF
##3302291.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04132A
Deuteranopia (green-blind)
#151B28
Tritanopia (blue-blind)
#370415
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #330229;
/* rgb */ color: rgb(51, 2, 41);
/* oklch */ color: oklch(22.1% 0.092 338.1);
Tailwind
colors: {
  custom: {
    50: '#6d4962',
    500: '#330229',
    950: '#000000',
  },
}
SCSS
$custom: #330229;
$custom-light: #6d4962;
$custom-dark: #000000;
JSON
{
  "hex": "#330229",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 312.245,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22087,
    "c": 0.09178,
    "h": 338.1
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#330229
secondary
#1A772D
accent
#FF5529
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #330229

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

Preview Lab → · Contrast checker → · Palette generator →

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