#300212#300212

#300212 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.076 H 4.9°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#300212
RGBrgb(48, 2, 18)
HSLhsl(339, 92%, 10%)
HSVhsv(339, 96%, 19%)
CMYKcmyk(0%, 95.8%, 62.5%, 81.2%)
CIE-LABlab(6.46, 24.25, 2.00)
CIE-LCHlch(6.46, 24.34, 4.72°)
OKLaboklab(20.26% 0.0758 0.0065)
OKLCHoklch(20.26% 0.076 4.9)
XYZxyz(1.3499, 0.7157, 0.6392)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300212 #023020
analogous
#300229 #300212 #300902
triadic
#300212 #123002 #021230
tetradic
#300212 #293002 #023020 #090230
square
#300212 #293002 #023020 #090230
split-complementary
#300212 #023009 #022930
monochromatic
#1D010B #1D010B #300212 #6B0428 #A6073E

Accessibility & contrast

On white

18.37
#300212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#300212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300212
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300212#FFFFFF#000000##FFFFFF
##3002121.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E12
Deuteranopia (green-blind)
#191811
Tritanopia (blue-blind)
#350008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #300212;
/* rgb */ color: rgb(48, 2, 18);
/* oklch */ color: oklch(20.3% 0.076 4.9);
Tailwind
colors: {
  custom: {
    50: '#6c4750',
    500: '#300212',
    950: '#000000',
  },
}
SCSS
$custom: #300212;
$custom-light: #6c4750;
$custom-dark: #000000;
JSON
{
  "hex": "#300212",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 339.13,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20263,
    "c": 0.07603,
    "h": 4.9
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#300212
secondary
#197555
accent
#FFB429
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300212

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

Preview Lab → · Contrast checker → · Palette generator →

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