#300117#300117

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

Color values

HEX#300117
RGBrgb(48, 1, 23)
HSLhsl(332, 96%, 10%)
HSVhsv(332, 98%, 19%)
CMYKcmyk(0%, 97.9%, 52.1%, 81.2%)
CIE-LABlab(6.43, 25.42, -1.43)
CIE-LCHlch(6.43, 25.46, 356.79°)
OKLaboklab(20.3% 0.08 -0.0038)
OKLCHoklch(20.3% 0.08 357.3)
XYZxyz(1.3845, 0.7121, 0.8750)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300117 #01301A
analogous
#30012F #300117 #300301
triadic
#300117 #173001 #011730
tetradic
#300117 #2F3001 #01301A #030130
square
#300117 #2F3001 #01301A #030130
split-complementary
#300117 #013003 #012F30
monochromatic
#1E010E #1E010E #300117 #6C0234 #A80350

Accessibility & contrast

On white

18.38
#300117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300117
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300117#FFFFFF#000000##FFFFFF
##3001171.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0E18
Deuteranopia (green-blind)
#181816
Tritanopia (blue-blind)
#35000A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #300117;
/* rgb */ color: rgb(48, 1, 23);
/* oklch */ color: oklch(20.3% 0.080 357.3);
Tailwind
colors: {
  custom: {
    50: '#6c4753',
    500: '#300117',
    950: '#000000',
  },
}
SCSS
$custom: #300117;
$custom-light: #6c4753;
$custom-dark: #000000;
JSON
{
  "hex": "#300117",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 23
  },
  "hsl": {
    "h": 331.915,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20298,
    "c": 0.08006,
    "h": 357.3
  },
  "luminance": 0.00712
}

Semantic roles & 50–950 ramp

primary
#300117
secondary
#177649
accent
#FF9B29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300117

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

Preview Lab → · Contrast checker → · Palette generator →

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