#38102E#38102E

#38102E is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.076 H 338.7°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#38102E
RGBrgb(56, 16, 46)
HSLhsl(315, 56%, 14%)
HSVhsv(315, 71%, 22%)
CMYKcmyk(0%, 71.4%, 17.9%, 78%)
CIE-LABlab(12.02, 24.06, -10.27)
CIE-LCHlch(12.02, 26.16, 336.89°)
OKLaboklab(25.15% 0.071 -0.0277)
OKLCHoklch(25.15% 0.076 338.7)
XYZxyz(2.3094, 1.4088, 2.7345)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38102E #10381A
analogous
#2E1038 #38102E #38101A
triadic
#38102E #2E3810 #102E38
tetradic
#38102E #382E10 #10381A #101A38
square
#38102E #382E10 #10381A #101A38
split-complementary
#38102E #1A3810 #10382E
monochromatic
#180714 #180714 #38102E #681E55 #972B7C

Accessibility & contrast

On white

16.38
#38102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38102E
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38102E#FFFFFF#000000##FFFFFF
##38102E1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#1E222D
Tritanopia (blue-blind)
#3B111D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38102e;
/* rgb */ color: rgb(56, 16, 46);
/* oklch */ color: oklch(25.1% 0.076 338.7);
Tailwind
colors: {
  custom: {
    50: '#705166',
    500: '#38102e',
    950: '#000000',
  },
}
SCSS
$custom: #38102e;
$custom-light: #705166;
$custom-dark: #000000;
JSON
{
  "hex": "#38102e",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 315,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25147,
    "c": 0.07619,
    "h": 338.7
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#38102E
secondary
#327242
accent
#DF6E49
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #38102E

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

Preview Lab → · Contrast checker → · Palette generator →

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