#30041F#30041F

#30041F is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.078 H 347.7°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#30041F
RGBrgb(48, 4, 31)
HSLhsl(323, 85%, 10%)
HSVhsv(323, 92%, 19%)
CMYKcmyk(0%, 91.7%, 35.4%, 81.2%)
CIE-LABlab(7.36, 25.02, -6.29)
CIE-LCHlch(7.36, 25.79, 345.88°)
OKLaboklab(21.16% 0.0766 -0.0167)
OKLCHoklch(21.16% 0.078 347.7)
XYZxyz(1.5097, 0.8143, 1.3737)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30041F #043015
analogous
#2B0430 #30041F #300409
triadic
#30041F #1F3004 #041F30
tetradic
#30041F #302B04 #043015 #040930
square
#30041F #302B04 #043015 #040930
split-complementary
#30041F #093004 #04302B
monochromatic
#1C0212 #1C0212 #30041F #680943 #A10D68

Accessibility & contrast

On white

18.06
#30041F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#30041F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30041F
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30041F#FFFFFF#000000##FFFFFF
##30041F1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1120
Deuteranopia (green-blind)
#17191E
Tritanopia (blue-blind)
#340310
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #30041f;
/* rgb */ color: rgb(48, 4, 31);
/* oklch */ color: oklch(21.2% 0.078 347.7);
Tailwind
colors: {
  custom: {
    50: '#6b495a',
    500: '#30041f',
    950: '#000000',
  },
}
SCSS
$custom: #30041f;
$custom-light: #6b495a;
$custom-dark: #000000;
JSON
{
  "hex": "#30041f",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 31
  },
  "hsl": {
    "h": 323.182,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21159,
    "c": 0.07837,
    "h": 347.7
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#30041F
secondary
#1D723E
accent
#FB7C2D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #30041F

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

Preview Lab → · Contrast checker → · Palette generator →

#30041F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva