#300C22#300C22

#300C22 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.066 H 346.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#300C22
RGBrgb(48, 12, 34)
HSLhsl(323, 60%, 12%)
HSVhsv(323, 75%, 19%)
CMYKcmyk(0%, 75%, 29.2%, 81.2%)
CIE-LABlab(9.05, 21.21, -6.01)
CIE-LCHlch(9.05, 22.05, 344.17°)
OKLaboklab(22.46% 0.0639 -0.0159)
OKLCHoklch(22.46% 0.066 346)
XYZxyz(1.6392, 1.0070, 1.6211)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C22 #0C301A
analogous
#2C0C30 #300C22 #300C10
triadic
#300C22 #22300C #0C2230
tetradic
#300C22 #302C0C #0C301A #0C1030
square
#300C22 #302C0C #0C301A #0C1030
split-complementary
#300C22 #10300C #0C302C
monochromatic
#180611 #180611 #300C22 #611845 #922467

Accessibility & contrast

On white

17.48
#300C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#300C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300C22
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C22#FFFFFF#000000##FFFFFF
##300C221.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101623
Deuteranopia (green-blind)
#1A1C21
Tritanopia (blue-blind)
#340B15
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300c22;
/* rgb */ color: rgb(48, 12, 34);
/* oklch */ color: oklch(22.5% 0.066 346.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d5d',
    500: '#300c22',
    950: '#000000',
  },
}
SCSS
$custom: #300c22;
$custom-light: #6a4d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#300c22",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 323.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2246,
    "c": 0.06589,
    "h": 346
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#300C22
secondary
#2C6C45
accent
#E38245
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #300C22

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

Preview Lab → · Contrast checker → · Palette generator →

#300C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva