#300315#300315

#300315 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.075 H 1.3°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#300315
RGBrgb(48, 3, 21)
HSLhsl(336, 88%, 10%)
HSVhsv(336, 94%, 19%)
CMYKcmyk(0%, 93.8%, 56.2%, 81.2%)
CIE-LABlab(6.75, 24.10, 0.48)
CIE-LCHlch(6.75, 24.11, 1.14°)
OKLaboklab(20.54% 0.075 0.0017)
OKLCHoklch(20.54% 0.075 1.3)
XYZxyz(1.3870, 0.7478, 0.7806)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300315 #03301E
analogous
#30032B #300315 #300803
triadic
#300315 #153003 #031530
tetradic
#300315 #2B3003 #03301E #080330
square
#300315 #2B3003 #03301E #080330
split-complementary
#300315 #033008 #032B30
monochromatic
#1D020D #1D020D #300315 #6A072E #A30A47

Accessibility & contrast

On white

18.27
#300315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#300315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300315
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300315#FFFFFF#000000##FFFFFF
##3003151.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0F15
Deuteranopia (green-blind)
#191814
Tritanopia (blue-blind)
#35000A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300315;
/* rgb */ color: rgb(48, 3, 21);
/* oklch */ color: oklch(20.5% 0.075 1.3);
Tailwind
colors: {
  custom: {
    50: '#6c4852',
    500: '#300315',
    950: '#000000',
  },
}
SCSS
$custom: #300315;
$custom-light: #6c4852;
$custom-dark: #000000;
JSON
{
  "hex": "#300315",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 21
  },
  "hsl": {
    "h": 336,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20539,
    "c": 0.07503,
    "h": 1.3
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#300315
secondary
#1B7350
accent
#FEA929
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300315

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

Preview Lab → · Contrast checker → · Palette generator →

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