#300417#300417

#300417 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.074 H 359.0°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#300417
RGBrgb(48, 4, 23)
HSLhsl(334, 85%, 10%)
HSVhsv(334, 92%, 19%)
CMYKcmyk(0%, 91.7%, 52.1%, 81.2%)
CIE-LABlab(7.02, 23.83, -0.56)
CIE-LCHlch(7.02, 23.84, 358.64°)
OKLaboklab(20.78% 0.0739 -0.0013)
OKLCHoklch(20.78% 0.074 359)
XYZxyz(1.4171, 0.7773, 0.8858)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300417 #04301D
analogous
#30042D #300417 #300704
triadic
#300417 #173004 #041730
tetradic
#300417 #2D3004 #04301D #070430
square
#300417 #2D3004 #04301D #070430
split-complementary
#300417 #043007 #042D30
monochromatic
#1C020E #1C020E #300417 #680932 #A10D4D

Accessibility & contrast

On white

18.18
#300417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#300417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300417
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300417#FFFFFF#000000##FFFFFF
##3004171.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1017
Deuteranopia (green-blind)
#191916
Tritanopia (blue-blind)
#35000C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300417;
/* rgb */ color: rgb(48, 4, 23);
/* oklch */ color: oklch(20.8% 0.074 359.0);
Tailwind
colors: {
  custom: {
    50: '#6b4853',
    500: '#300417',
    950: '#000000',
  },
}
SCSS
$custom: #300417;
$custom-light: #6b4853;
$custom-dark: #000000;
JSON
{
  "hex": "#300417",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 23
  },
  "hsl": {
    "h": 334.091,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20779,
    "c": 0.07387,
    "h": 359
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#300417
secondary
#1D724E
accent
#FBA22D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #300417

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

Preview Lab → · Contrast checker → · Palette generator →

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