#300427#300427

#300427 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.084 H 337.7°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#300427
RGBrgb(48, 4, 39)
HSLhsl(312, 85%, 10%)
HSVhsv(312, 92%, 19%)
CMYKcmyk(0%, 91.7%, 18.7%, 81.2%)
CIE-LABlab(7.79, 26.38, -11.76)
CIE-LCHlch(7.79, 28.88, 335.98°)
OKLaboklab(21.63% 0.0781 -0.032)
OKLCHoklch(21.63% 0.084 337.7)
XYZxyz(1.6286, 0.8619, 1.9996)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300427 #04300D
analogous
#230430 #300427 #300411
triadic
#300427 #273004 #042730
tetradic
#300427 #302304 #04300D #041130
square
#300427 #302304 #04300D #041130
split-complementary
#300427 #113004 #043023
monochromatic
#1C0217 #1C0217 #300427 #680955 #A10D83

Accessibility & contrast

On white

17.91
#300427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#300427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300427
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300427#FFFFFF#000000##FFFFFF
##3004271.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051328
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#330614
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #300427;
/* rgb */ color: rgb(48, 4, 39);
/* oklch */ color: oklch(21.6% 0.084 337.7);
Tailwind
colors: {
  custom: {
    50: '#6b4961',
    500: '#300427',
    950: '#000000',
  },
}
SCSS
$custom: #300427;
$custom-light: #6b4961;
$custom-dark: #000000;
JSON
{
  "hex": "#300427",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 312.273,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21626,
    "c": 0.0844,
    "h": 337.7
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#300427
secondary
#1D722F
accent
#FB572D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #300427

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

Preview Lab → · Contrast checker → · Palette generator →

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