#30020F#30020F

#30020F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.075 H 9.1°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#30020F
RGBrgb(48, 2, 15)
HSLhsl(343, 92%, 10%)
HSVhsv(343, 96%, 19%)
CMYKcmyk(0%, 95.8%, 68.7%, 81.2%)
CIE-LABlab(6.38, 23.92, 3.59)
CIE-LCHlch(6.38, 24.19, 8.53°)
OKLaboklab(20.16% 0.0743 0.0119)
OKLCHoklch(20.16% 0.075 9.1)
XYZxyz(1.3270, 0.7065, 0.5183)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30020F #023023
analogous
#300226 #30020F #300C02
triadic
#30020F #0F3002 #020F30
tetradic
#30020F #263002 #023023 #0C0230
square
#30020F #263002 #023023 #0C0230
split-complementary
#30020F #02300C #022630
monochromatic
#1D0109 #1D0109 #30020F #6B0421 #A60734

Accessibility & contrast

On white

18.40
#30020F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#30020F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30020F
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30020F#FFFFFF#000000##FFFFFF
##30020F1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E0F
Deuteranopia (green-blind)
#1A180E
Tritanopia (blue-blind)
#350007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #30020f;
/* rgb */ color: rgb(48, 2, 15);
/* oklch */ color: oklch(20.2% 0.075 9.1);
Tailwind
colors: {
  custom: {
    50: '#6c474e',
    500: '#30020f',
    950: '#000000',
  },
}
SCSS
$custom: #30020f;
$custom-light: #6c474e;
$custom-dark: #000000;
JSON
{
  "hex": "#30020f",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 15
  },
  "hsl": {
    "h": 343.043,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20161,
    "c": 0.07529,
    "h": 9.1
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#30020F
secondary
#19755B
accent
#FFC229
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #30020F

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

Preview Lab → · Contrast checker → · Palette generator →

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