#300217#300217

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

Color values

HEX#300217
RGBrgb(48, 2, 23)
HSLhsl(333, 92%, 10%)
HSVhsv(333, 96%, 19%)
CMYKcmyk(0%, 95.8%, 52.1%, 81.2%)
CIE-LABlab(6.63, 24.89, -1.14)
CIE-LCHlch(6.63, 24.92, 357.38°)
OKLaboklab(20.46% 0.0779 -0.003)
OKLCHoklch(20.46% 0.078 357.8)
XYZxyz(1.3954, 0.7338, 0.8786)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300217 #02301B
analogous
#30022E #300217 #300402
triadic
#300217 #173002 #021730
tetradic
#300217 #2E3002 #02301B #040230
square
#300217 #2E3002 #02301B #040230
split-complementary
#300217 #023004 #022E30
monochromatic
#1D010E #1D010E #300217 #6B0433 #A6074F

Accessibility & contrast

On white

18.31
#300217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300217
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300217#FFFFFF#000000##FFFFFF
##3002171.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300217;
/* rgb */ color: rgb(48, 2, 23);
/* oklch */ color: oklch(20.5% 0.078 357.8);
Tailwind
colors: {
  custom: {
    50: '#6b4753',
    500: '#300217',
    950: '#000000',
  },
}
SCSS
$custom: #300217;
$custom-light: #6b4753;
$custom-dark: #000000;
JSON
{
  "hex": "#300217",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 332.609,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20461,
    "c": 0.07793,
    "h": 357.8
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#300217
secondary
#19754B
accent
#FF9D29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #300217

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

Preview Lab → · Contrast checker → · Palette generator →

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