#38102B#38102B

#38102B is a very dark, moderate pink. Relative luminance 0.014; OKLCH L 25.0% C 0.074 H 342.5°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#38102B
RGBrgb(56, 16, 43)
HSLhsl(320, 56%, 14%)
HSVhsv(320, 71%, 22%)
CMYKcmyk(0%, 71.4%, 23.2%, 78%)
CIE-LABlab(11.86, 23.51, -8.30)
CIE-LCHlch(11.86, 24.93, 340.56°)
OKLaboklab(24.99% 0.0702 -0.0222)
OKLCHoklch(24.99% 0.074 342.5)
XYZxyz(2.2523, 1.3860, 2.4339)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38102B #10381D
analogous
#311038 #38102B #381017
triadic
#38102B #2B3810 #102B38
tetradic
#38102B #383110 #10381D #101738
square
#38102B #383110 #10381D #101738
split-complementary
#38102B #173810 #103831
monochromatic
#180712 #180712 #38102B #681E50 #972B74

Accessibility & contrast

On white

16.44
#38102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#38102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38102B
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38102B#FFFFFF#000000##FFFFFF
##38102B1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2C
Deuteranopia (green-blind)
#1F222A
Tritanopia (blue-blind)
#3C101B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38102b;
/* rgb */ color: rgb(56, 16, 43);
/* oklch */ color: oklch(25.0% 0.074 342.5);
Tailwind
colors: {
  custom: {
    50: '#705164',
    500: '#38102b',
    950: '#000000',
  },
}
SCSS
$custom: #38102b;
$custom-light: #705164;
$custom-dark: #000000;
JSON
{
  "hex": "#38102b",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 319.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24985,
    "c": 0.07364,
    "h": 342.5
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#38102B
secondary
#327247
accent
#DF7A49
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#080205
muted
#7B7879

Preview Lab

Preview with #38102B

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

Preview Lab → · Contrast checker → · Palette generator →

#38102B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva