#390218#390218

#390218 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.086 H 2.8°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#390218
RGBrgb(57, 2, 24)
HSLhsl(336, 93%, 12%)
HSVhsv(336, 96%, 22%)
CMYKcmyk(0%, 96.5%, 57.9%, 77.6%)
CIE-LABlab(8.82, 28.10, 1.55)
CIE-LCHlch(8.82, 28.14, 3.17°)
OKLaboklab(22.53% 0.0863 0.0043)
OKLCHoklch(22.53% 0.086 2.8)
XYZxyz(1.8741, 0.9795, 0.9544)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390218 #023923
analogous
#390234 #390218 #390802
triadic
#390218 #183902 #021839
tetradic
#390218 #343902 #023923 #080239
square
#390218 #343902 #023923 #080239
split-complementary
#390218 #023908 #023439
monochromatic
#1E010C #1E010C #390218 #740431 #AF064A

Accessibility & contrast

On white

17.56
#390218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#390218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390218
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390218#FFFFFF#000000##FFFFFF
##3902181.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101218
Deuteranopia (green-blind)
#1F1D17
Tritanopia (blue-blind)
#3F000B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #390218;
/* rgb */ color: rgb(57, 2, 24);
/* oklch */ color: oklch(22.5% 0.086 2.8);
Tailwind
colors: {
  custom: {
    50: '#734954',
    500: '#390218',
    950: '#000000',
  },
}
SCSS
$custom: #390218;
$custom-light: #734954;
$custom-dark: #000000;
JSON
{
  "hex": "#390218",
  "rgb": {
    "r": 57,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 336,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22529,
    "c": 0.08643,
    "h": 2.8
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#390218
secondary
#1A7D55
accent
#FFA929
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #390218

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

Preview Lab → · Contrast checker → · Palette generator →

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