#300526#300526

#300526 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.082 H 339.0°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#300526
RGBrgb(48, 5, 38)
HSLhsl(314, 81%, 10%)
HSVhsv(314, 90%, 19%)
CMYKcmyk(0%, 89.6%, 20.8%, 81.2%)
CIE-LABlab(7.92, 25.65, -10.79)
CIE-LCHlch(7.92, 27.82, 337.19°)
OKLaboklab(21.71% 0.0763 -0.0292)
OKLCHoklch(21.71% 0.082 339)
XYZxyz(1.6231, 0.8770, 1.9171)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300526 #05300F
analogous
#240530 #300526 #300511
triadic
#300526 #263005 #052630
tetradic
#300526 #302405 #05300F #051130
square
#300526 #302405 #05300F #051130
split-complementary
#300526 #113005 #053024
monochromatic
#1C0316 #1C0316 #300526 #670B52 #9F117E

Accessibility & contrast

On white

17.87
#300526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#300526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300526
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300526#FFFFFF#000000##FFFFFF
##3005261.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300526;
/* rgb */ color: rgb(48, 5, 38);
/* oklch */ color: oklch(21.7% 0.082 339.0);
Tailwind
colors: {
  custom: {
    50: '#6a4a60',
    500: '#300526',
    950: '#000000',
  },
}
SCSS
$custom: #300526;
$custom-light: #6a4a60;
$custom-dark: #000000;
JSON
{
  "hex": "#300526",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 313.953,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21706,
    "c": 0.08167,
    "h": 339
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#300526
secondary
#1F7232
accent
#F85F30
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #300526

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

Preview Lab → · Contrast checker → · Palette generator →

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