#300126#300126

#300126 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.090 H 338.5°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#300126
RGBrgb(48, 1, 38)
HSLhsl(313, 96%, 10%)
HSVhsv(313, 98%, 19%)
CMYKcmyk(0%, 97.9%, 20.8%, 81.2%)
CIE-LABlab(7.14, 27.87, -12.01)
CIE-LCHlch(7.14, 30.34, 336.69°)
OKLaboklab(21.12% 0.0834 -0.0328)
OKLCHoklch(21.12% 0.09 338.5)
XYZxyz(1.5797, 0.7902, 1.9027)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300126 #01300B
analogous
#230130 #300126 #30010F
triadic
#300126 #263001 #012630
tetradic
#300126 #302301 #01300B #010F30
square
#300126 #302301 #01300B #010F30
split-complementary
#300126 #0F3001 #013023
monochromatic
#1E0118 #1E0118 #300126 #6C0255 #A80385

Accessibility & contrast

On white

18.13
#300126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300126
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300126#FFFFFF#000000##FFFFFF
##3001261.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031127
Deuteranopia (green-blind)
#131825
Tritanopia (blue-blind)
#330312
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300126;
/* rgb */ color: rgb(48, 1, 38);
/* oklch */ color: oklch(21.1% 0.090 338.5);
Tailwind
colors: {
  custom: {
    50: '#6b4760',
    500: '#300126',
    950: '#000000',
  },
}
SCSS
$custom: #300126;
$custom-light: #6b4760;
$custom-dark: #000000;
JSON
{
  "hex": "#300126",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 312.766,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2112,
    "c": 0.08964,
    "h": 338.5
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#300126
secondary
#17762B
accent
#FF5629
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070005
muted
#7A7779

Preview Lab

Preview with #300126

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

Preview Lab → · Contrast checker → · Palette generator →

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