#300226#300226

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

Color values

HEX#300226
RGBrgb(48, 2, 38)
HSLhsl(313, 92%, 10%)
HSVhsv(313, 96%, 19%)
CMYKcmyk(0%, 95.8%, 20.8%, 81.2%)
CIE-LABlab(7.33, 27.31, -11.70)
CIE-LCHlch(7.33, 29.71, 336.81°)
OKLaboklab(21.27% 0.0816 -0.0319)
OKLCHoklch(21.27% 0.088 338.7)
XYZxyz(1.5905, 0.8119, 1.9063)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300226 #02300C
analogous
#230230 #300226 #30020F
triadic
#300226 #263002 #022630
tetradic
#300226 #302302 #02300C #020F30
square
#300226 #302302 #02300C #020F30
split-complementary
#300226 #0F3002 #023023
monochromatic
#1D0117 #1D0117 #300226 #6B0455 #A60783

Accessibility & contrast

On white

18.07
#300226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300226
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300226#FFFFFF#000000##FFFFFF
##3002261.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041127
Deuteranopia (green-blind)
#141925
Tritanopia (blue-blind)
#330413
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300226;
/* rgb */ color: rgb(48, 2, 38);
/* oklch */ color: oklch(21.3% 0.088 338.7);
Tailwind
colors: {
  custom: {
    50: '#6b4860',
    500: '#300226',
    950: '#000000',
  },
}
SCSS
$custom: #300226;
$custom-light: #6b4860;
$custom-dark: #000000;
JSON
{
  "hex": "#300226",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 313.043,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2127,
    "c": 0.08758,
    "h": 338.7
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#300226
secondary
#19752D
accent
#FF5729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #300226

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

Preview Lab → · Contrast checker → · Palette generator →

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