#38122E#38122E

#38122E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.4% C 0.073 H 339.0°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#38122E
RGBrgb(56, 18, 46)
HSLhsl(316, 51%, 15%)
HSVhsv(316, 68%, 22%)
CMYKcmyk(0%, 67.9%, 17.9%, 78%)
CIE-LABlab(12.42, 22.96, -9.64)
CIE-LCHlch(12.42, 24.90, 337.22°)
OKLaboklab(25.45% 0.0677 -0.026)
OKLCHoklch(25.45% 0.073 339)
XYZxyz(2.3404, 1.4708, 2.7449)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38122E #12381C
analogous
#2F1238 #38122E #38121B
triadic
#38122E #2E3812 #122E38
tetradic
#38122E #382F12 #12381C #121B38
square
#38122E #382F12 #12381C #121B38
split-complementary
#38122E #1B3812 #12382F
monochromatic
#170713 #170713 #38122E #662154 #95307A

Accessibility & contrast

On white

16.23
#38122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38122E
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38122E#FFFFFF#000000##FFFFFF
##38122E1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D2F
Deuteranopia (green-blind)
#1F232D
Tritanopia (blue-blind)
#3B131E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38122e;
/* rgb */ color: rgb(56, 18, 46);
/* oklch */ color: oklch(25.4% 0.073 339.0);
Tailwind
colors: {
  custom: {
    50: '#705266',
    500: '#38122e',
    950: '#000000',
  },
}
SCSS
$custom: #38122e;
$custom-light: #705266;
$custom-dark: #000000;
JSON
{
  "hex": "#38122e",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 315.789,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25445,
    "c": 0.07251,
    "h": 339
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#38122E
secondary
#357145
accent
#DB724D
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #38122E

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

Preview Lab → · Contrast checker → · Palette generator →

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