#38122A#38122A

#38122A is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.069 H 344.4°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#38122A
RGBrgb(56, 18, 42)
HSLhsl(322, 51%, 15%)
HSVhsv(322, 68%, 22%)
CMYKcmyk(0%, 67.9%, 25%, 78%)
CIE-LABlab(12.23, 22.22, -7.01)
CIE-LCHlch(12.23, 23.30, 342.50°)
OKLaboklab(25.24% 0.0666 -0.0186)
OKLCHoklch(25.24% 0.069 344.4)
XYZxyz(2.2652, 1.4407, 2.3488)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38122A #123820
analogous
#331238 #38122A #381217
triadic
#38122A #2A3812 #122A38
tetradic
#38122A #383312 #123820 #121738
square
#38122A #383312 #123820 #121738
split-complementary
#38122A #173812 #123833
monochromatic
#170711 #170711 #38122A #66214D #95306F

Accessibility & contrast

On white

16.30
#38122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#38122A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38122A
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38122A#FFFFFF#000000##FFFFFF
##38122A1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2B
Deuteranopia (green-blind)
#202229
Tritanopia (blue-blind)
#3C121C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38122a;
/* rgb */ color: rgb(56, 18, 42);
/* oklch */ color: oklch(25.2% 0.069 344.4);
Tailwind
colors: {
  custom: {
    50: '#705263',
    500: '#38122a',
    950: '#000000',
  },
}
SCSS
$custom: #38122a;
$custom-light: #705263;
$custom-dark: #000000;
JSON
{
  "hex": "#38122a",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 322.105,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25237,
    "c": 0.06911,
    "h": 344.4
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#38122A
secondary
#35714B
accent
#DB814D
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#080205
muted
#7B7879

Preview Lab

Preview with #38122A

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

Preview Lab → · Contrast checker → · Palette generator →

#38122A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva