#38102F#38102F

#38102F is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.077 H 337.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#38102F
RGBrgb(56, 16, 47)
HSLhsl(314, 56%, 14%)
HSVhsv(314, 71%, 22%)
CMYKcmyk(0%, 71.4%, 16.1%, 78%)
CIE-LABlab(12.07, 24.25, -10.92)
CIE-LCHlch(12.07, 26.59, 335.76°)
OKLaboklab(25.2% 0.0712 -0.0295)
OKLCHoklch(25.2% 0.077 337.5)
XYZxyz(2.3293, 1.4168, 2.8396)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38102F #103819
analogous
#2D1038 #38102F #38101B
triadic
#38102F #2F3810 #102F38
tetradic
#38102F #382D10 #103819 #101B38
square
#38102F #382D10 #103819 #101B38
split-complementary
#38102F #1B3810 #10382D
monochromatic
#180714 #180714 #38102F #681E57 #972B7F

Accessibility & contrast

On white

16.36
#38102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38102F
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38102F#FFFFFF#000000##FFFFFF
##38102F1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C30
Deuteranopia (green-blind)
#1D222E
Tritanopia (blue-blind)
#3B121D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38102f;
/* rgb */ color: rgb(56, 16, 47);
/* oklch */ color: oklch(25.2% 0.077 337.5);
Tailwind
colors: {
  custom: {
    50: '#705167',
    500: '#38102f',
    950: '#000000',
  },
}
SCSS
$custom: #38102f;
$custom-light: #705167;
$custom-dark: #000000;
JSON
{
  "hex": "#38102f",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 313.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25203,
    "c": 0.07708,
    "h": 337.5
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#38102F
secondary
#327240
accent
#DF6B49
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #38102F

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

Preview Lab → · Contrast checker → · Palette generator →

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