#300222#300222

#300222 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.085 H 343.4°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#300222
RGBrgb(48, 2, 34)
HSLhsl(318, 92%, 10%)
HSVhsv(318, 96%, 19%)
CMYKcmyk(0%, 95.8%, 29.2%, 81.2%)
CIE-LABlab(7.11, 26.60, -8.98)
CIE-LCHlch(7.11, 28.08, 341.35°)
OKLaboklab(21.02% 0.081 -0.0242)
OKLCHoklch(21.02% 0.085 343.4)
XYZxyz(1.5294, 0.7875, 1.5845)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300222 #023010
analogous
#270230 #300222 #30020B
triadic
#300222 #223002 #022230
tetradic
#300222 #302702 #023010 #020B30
square
#300222 #302702 #023010 #020B30
split-complementary
#300222 #0B3002 #023027
monochromatic
#1D0115 #1D0115 #300222 #6B044C #A60775

Accessibility & contrast

On white

18.14
#300222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300222
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300222#FFFFFF#000000##FFFFFF
##3002221.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061123
Deuteranopia (green-blind)
#151921
Tritanopia (blue-blind)
#340211
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300222;
/* rgb */ color: rgb(48, 2, 34);
/* oklch */ color: oklch(21.0% 0.085 343.4);
Tailwind
colors: {
  custom: {
    50: '#6b485d',
    500: '#300222',
    950: '#000000',
  },
}
SCSS
$custom: #300222;
$custom-light: #6b485d;
$custom-dark: #000000;
JSON
{
  "hex": "#300222",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 318.261,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21024,
    "c": 0.08457,
    "h": 343.4
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#300222
secondary
#197535
accent
#FF6A29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #300222

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

Preview Lab → · Contrast checker → · Palette generator →

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