#330223#330223

#330223 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.087 H 344.9°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#330223
RGBrgb(51, 2, 35)
HSLhsl(320, 92%, 10%)
HSVhsv(320, 96%, 20%)
CMYKcmyk(0%, 96.1%, 31.4%, 80%)
CIE-LABlab(7.85, 27.72, -8.56)
CIE-LCHlch(7.85, 29.01, 342.84°)
OKLaboklab(21.72% 0.0843 -0.0228)
OKLCHoklch(21.72% 0.087 344.9)
XYZxyz(1.6904, 0.8688, 1.6685)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330223 #023312
analogous
#2A0233 #330223 #33020A
triadic
#330223 #233302 #022333
tetradic
#330223 #332A02 #023312 #020A33
square
#330223 #332A02 #023312 #020A33
split-complementary
#330223 #0A3302 #02332A
monochromatic
#1D0114 #1D0114 #330223 #6E044B #A90774

Accessibility & contrast

On white

17.89
#330223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#330223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330223
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330223#FFFFFF#000000##FFFFFF
##3302231.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071224
Deuteranopia (green-blind)
#181A22
Tritanopia (blue-blind)
#370111
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330223;
/* rgb */ color: rgb(51, 2, 35);
/* oklch */ color: oklch(21.7% 0.087 344.9);
Tailwind
colors: {
  custom: {
    50: '#6d485d',
    500: '#330223',
    950: '#000000',
  },
}
SCSS
$custom: #330223;
$custom-light: #6d485d;
$custom-dark: #000000;
JSON
{
  "hex": "#330223",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 319.592,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21723,
    "c": 0.08736,
    "h": 344.9
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#330223
secondary
#1A7738
accent
#FF6F29
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #330223

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

Preview Lab → · Contrast checker → · Palette generator →

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