#300124#300124

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

Color values

HEX#300124
RGBrgb(48, 1, 36)
HSLhsl(315, 96%, 10%)
HSVhsv(315, 98%, 19%)
CMYKcmyk(0%, 97.9%, 25%, 81.2%)
CIE-LABlab(7.02, 27.51, -10.65)
CIE-LCHlch(7.02, 29.50, 338.83°)
OKLaboklab(20.99% 0.0832 -0.029)
OKLCHoklch(20.99% 0.088 340.8)
XYZxyz(1.5483, 0.7776, 1.7373)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300124 #01300D
analogous
#250130 #300124 #30010D
triadic
#300124 #243001 #012430
tetradic
#300124 #302501 #01300D #010D30
square
#300124 #302501 #01300D #010D30
split-complementary
#300124 #0D3001 #013025
monochromatic
#1E0116 #1E0116 #300124 #6C0251 #A8037E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##300124#FFFFFF#000000##FFFFFF
##3001241.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)
#041025
Deuteranopia (green-blind)
#141823
Tritanopia (blue-blind)
#340211
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300124;
/* rgb */ color: rgb(48, 1, 36);
/* oklch */ color: oklch(21.0% 0.088 340.8);
Tailwind
colors: {
  custom: {
    50: '#6b475e',
    500: '#300124',
    950: '#000000',
  },
}
SCSS
$custom: #300124;
$custom-light: #6b475e;
$custom-dark: #000000;
JSON
{
  "hex": "#300124",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 315.319,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20993,
    "c": 0.08813,
    "h": 340.8
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#300124
secondary
#17762F
accent
#FF5F29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #300124

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

Preview Lab → · Contrast checker → · Palette generator →

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