#300215#300215

#300215 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.077 H 0.6°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#300215
RGBrgb(48, 2, 21)
HSLhsl(335, 92%, 10%)
HSVhsv(335, 96%, 19%)
CMYKcmyk(0%, 95.8%, 56.2%, 81.2%)
CIE-LABlab(6.56, 24.63, 0.19)
CIE-LCHlch(6.56, 24.63, 0.45°)
OKLaboklab(20.38% 0.0771 0.0008)
OKLCHoklch(20.38% 0.077 0.6)
XYZxyz(1.3761, 0.7261, 0.7770)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300215 #02301D
analogous
#30022C #300215 #300602
triadic
#300215 #153002 #021530
tetradic
#300215 #2C3002 #02301D #060230
square
#300215 #2C3002 #02301D #060230
split-complementary
#300215 #023006 #022C30
monochromatic
#1D010D #1D010D #300215 #6B042F #A60748

Accessibility & contrast

On white

18.34
#300215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300215
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300215#FFFFFF#000000##FFFFFF
##3002151.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F15
Deuteranopia (green-blind)
#191814
Tritanopia (blue-blind)
#350009
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300215;
/* rgb */ color: rgb(48, 2, 21);
/* oklch */ color: oklch(20.4% 0.077 0.6);
Tailwind
colors: {
  custom: {
    50: '#6c4752',
    500: '#300215',
    950: '#000000',
  },
}
SCSS
$custom: #300215;
$custom-light: #6c4752;
$custom-dark: #000000;
JSON
{
  "hex": "#300215",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 21
  },
  "hsl": {
    "h": 335.217,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20377,
    "c": 0.07707,
    "h": 0.6
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#300215
secondary
#19754F
accent
#FFA729
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300215

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

Preview Lab → · Contrast checker → · Palette generator →

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