#38102D#38102D

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

Color values

HEX#38102D
RGBrgb(56, 16, 45)
HSLhsl(317, 56%, 14%)
HSVhsv(317, 71%, 22%)
CMYKcmyk(0%, 71.4%, 19.6%, 78%)
CIE-LABlab(11.96, 23.87, -9.61)
CIE-LCHlch(11.96, 25.74, 338.07°)
OKLaboklab(25.09% 0.0707 -0.0259)
OKLCHoklch(25.09% 0.075 339.9)
XYZxyz(2.2899, 1.4010, 2.6319)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38102D #10381B
analogous
#2F1038 #38102D #381019
triadic
#38102D #2D3810 #102D38
tetradic
#38102D #382F10 #10381B #101938
square
#38102D #382F10 #10381B #101938
split-complementary
#38102D #193810 #10382F
monochromatic
#180713 #180713 #38102D #681E53 #972B7A

Accessibility & contrast

On white

16.40
#38102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38102D
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38102D#FFFFFF#000000##FFFFFF
##38102D1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121B2E
Deuteranopia (green-blind)
#1E222C
Tritanopia (blue-blind)
#3C111C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38102d;
/* rgb */ color: rgb(56, 16, 45);
/* oklch */ color: oklch(25.1% 0.075 339.9);
Tailwind
colors: {
  custom: {
    50: '#705166',
    500: '#38102d',
    950: '#000000',
  },
}
SCSS
$custom: #38102d;
$custom-light: #705166;
$custom-dark: #000000;
JSON
{
  "hex": "#38102d",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 316.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25092,
    "c": 0.07532,
    "h": 339.9
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#38102D
secondary
#327244
accent
#DF7249
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080205
muted
#7B787A

Preview Lab

Preview with #38102D

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

Preview Lab → · Contrast checker → · Palette generator →

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