#300122#300122

#300122 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.087 H 343.1°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#300122
RGBrgb(48, 1, 34)
HSLhsl(318, 96%, 10%)
HSVhsv(318, 98%, 19%)
CMYKcmyk(0%, 97.9%, 29.2%, 81.2%)
CIE-LABlab(6.92, 27.15, -9.28)
CIE-LCHlch(6.92, 28.69, 341.13°)
OKLaboklab(20.87% 0.083 -0.0251)
OKLCHoklch(20.87% 0.087 343.1)
XYZxyz(1.5186, 0.7658, 1.5809)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300122 #01300F
analogous
#270130 #300122 #30010B
triadic
#300122 #223001 #012230
tetradic
#300122 #302701 #01300F #010B30
square
#300122 #302701 #01300F #010B30
split-complementary
#300122 #0B3001 #013027
monochromatic
#1E0115 #1E0115 #300122 #6C024C #A80377

Accessibility & contrast

On white

18.21
#300122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#300122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300122
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300122#FFFFFF#000000##FFFFFF
##3001221.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051023
Deuteranopia (green-blind)
#151821
Tritanopia (blue-blind)
#340110
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300122;
/* rgb */ color: rgb(48, 1, 34);
/* oklch */ color: oklch(20.9% 0.087 343.1);
Tailwind
colors: {
  custom: {
    50: '#6b475d',
    500: '#300122',
    950: '#000000',
  },
}
SCSS
$custom: #300122;
$custom-light: #6b475d;
$custom-dark: #000000;
JSON
{
  "hex": "#300122",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 317.872,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2087,
    "c": 0.08668,
    "h": 343.1
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#300122
secondary
#177633
accent
#FF6929
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #300122

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

Preview Lab → · Contrast checker → · Palette generator →

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