#300213#300213

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

Color values

HEX#300213
RGBrgb(48, 2, 19)
HSLhsl(338, 92%, 10%)
HSVhsv(338, 96%, 19%)
CMYKcmyk(0%, 95.8%, 60.4%, 81.2%)
CIE-LABlab(6.49, 24.38, 1.43)
CIE-LCHlch(6.49, 24.42, 3.35°)
OKLaboklab(20.3% 0.0762 0.0046)
OKLCHoklch(20.3% 0.076 3.5)
XYZxyz(1.3583, 0.7190, 0.6832)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300213 #02301F
analogous
#30022A #300213 #300802
triadic
#300213 #133002 #021330
tetradic
#300213 #2A3002 #02301F #080230
square
#300213 #2A3002 #02301F #080230
split-complementary
#300213 #023008 #022A30
monochromatic
#1D010C #1D010C #300213 #6B042A #A60742

Accessibility & contrast

On white

18.36
#300213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300213
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300213#FFFFFF#000000##FFFFFF
##3002131.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300213;
/* rgb */ color: rgb(48, 2, 19);
/* oklch */ color: oklch(20.3% 0.076 3.5);
Tailwind
colors: {
  custom: {
    50: '#6c4750',
    500: '#300213',
    950: '#000000',
  },
}
SCSS
$custom: #300213;
$custom-light: #6c4750;
$custom-dark: #000000;
JSON
{
  "hex": "#300213",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 19
  },
  "hsl": {
    "h": 337.826,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.203,
    "c": 0.07634,
    "h": 3.5
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#300213
secondary
#197553
accent
#FFB029
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300213

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

Preview Lab → · Contrast checker → · Palette generator →

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