#38122D#38122D

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

Color values

HEX#38122D
RGBrgb(56, 18, 45)
HSLhsl(317, 51%, 15%)
HSVhsv(317, 68%, 22%)
CMYKcmyk(0%, 67.9%, 19.6%, 78%)
CIE-LABlab(12.37, 22.77, -8.99)
CIE-LCHlch(12.37, 24.48, 338.46°)
OKLaboklab(25.39% 0.0674 -0.0241)
OKLCHoklch(25.39% 0.072 340.3)
XYZxyz(2.3209, 1.4630, 2.6423)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38122D #12381D
analogous
#301238 #38122D #38121A
triadic
#38122D #2D3812 #122D38
tetradic
#38122D #383012 #12381D #121A38
square
#38122D #383012 #12381D #121A38
split-complementary
#38122D #1A3812 #123830
monochromatic
#170713 #170713 #38122D #662152 #953077

Accessibility & contrast

On white

16.25
#38122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38122D
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38122D#FFFFFF#000000##FFFFFF
##38122D1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2E
Deuteranopia (green-blind)
#1F222C
Tritanopia (blue-blind)
#3C131D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38122d;
/* rgb */ color: rgb(56, 18, 45);
/* oklch */ color: oklch(25.4% 0.072 340.3);
Tailwind
colors: {
  custom: {
    50: '#705266',
    500: '#38122d',
    950: '#000000',
  },
}
SCSS
$custom: #38122d;
$custom-light: #705266;
$custom-dark: #000000;
JSON
{
  "hex": "#38122d",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 317.368,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25392,
    "c": 0.07162,
    "h": 340.3
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#38122D
secondary
#357146
accent
#DB764D
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080205
muted
#7B787A

Preview Lab

Preview with #38122D

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

Preview Lab → · Contrast checker → · Palette generator →

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