#300223#300223

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

Color values

HEX#300223
RGBrgb(48, 2, 35)
HSLhsl(317, 92%, 10%)
HSVhsv(317, 96%, 19%)
CMYKcmyk(0%, 95.8%, 27.1%, 81.2%)
CIE-LABlab(7.17, 26.78, -9.67)
CIE-LCHlch(7.17, 28.47, 340.15°)
OKLaboklab(21.08% 0.0812 -0.0261)
OKLCHoklch(21.08% 0.085 342.1)
XYZxyz(1.5441, 0.7933, 1.6616)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300223 #02300F
analogous
#260230 #300223 #30020C
triadic
#300223 #233002 #022330
tetradic
#300223 #302602 #02300F #020C30
square
#300223 #302602 #02300F #020C30
split-complementary
#300223 #0C3002 #023026
monochromatic
#1D0115 #1D0115 #300223 #6B044E #A60779

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##300223#FFFFFF#000000##FFFFFF
##3002231.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)
#061124
Deuteranopia (green-blind)
#151922
Tritanopia (blue-blind)
#340211
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300223;
/* rgb */ color: rgb(48, 2, 35);
/* oklch */ color: oklch(21.1% 0.085 342.1);
Tailwind
colors: {
  custom: {
    50: '#6b485e',
    500: '#300223',
    950: '#000000',
  },
}
SCSS
$custom: #300223;
$custom-light: #6b485e;
$custom-dark: #000000;
JSON
{
  "hex": "#300223",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 316.957,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21083,
    "c": 0.08529,
    "h": 342.1
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#300223
secondary
#197533
accent
#FF6529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #300223

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

Preview Lab → · Contrast checker → · Palette generator →

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