#3A0213#3A0213

#3A0213 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.086 H 9.4°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#3A0213
RGBrgb(58, 2, 19)
HSLhsl(342, 93%, 12%)
HSVhsv(342, 97%, 23%)
CMYKcmyk(0%, 96.6%, 67.2%, 77.3%)
CIE-LABlab(8.91, 27.95, 5.24)
CIE-LCHlch(8.91, 28.44, 10.61°)
OKLaboklab(22.59% 0.0849 0.0141)
OKLCHoklch(22.59% 0.086 9.4)
XYZxyz(1.8844, 0.9903, 0.7079)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0213 #023A29
analogous
#3A022F #3A0213 #3A0D02
triadic
#3A0213 #133A02 #02133A
tetradic
#3A0213 #2F3A02 #023A29 #0D023A
square
#3A0213 #2F3A02 #023A29 #0D023A
split-complementary
#3A0213 #023A0D #022F3A
monochromatic
#1E010A #1E010A #3A0213 #750426 #B0063A

Accessibility & contrast

On white

17.53
#3A0213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#3A0213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0213
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0213#FFFFFF#000000##FFFFFF
##3A02131.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111213
Deuteranopia (green-blind)
#201D12
Tritanopia (blue-blind)
#400009
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #3a0213;
/* rgb */ color: rgb(58, 2, 19);
/* oklch */ color: oklch(22.6% 0.086 9.4);
Tailwind
colors: {
  custom: {
    50: '#754950',
    500: '#3a0213',
    950: '#000000',
  },
}
SCSS
$custom: #3a0213;
$custom-light: #754950;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0213",
  "rgb": {
    "r": 58,
    "g": 2,
    "b": 19
  },
  "hsl": {
    "h": 341.786,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22587,
    "c": 0.08609,
    "h": 9.4
  },
  "luminance": 0.0099
}

Semantic roles & 50–950 ramp

primary
#3A0213
secondary
#1A7D5F
accent
#FFBE29
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3A0213

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

Preview Lab → · Contrast checker → · Palette generator →

#3A0213 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva