#42121F#42121F

#42121F is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.6% C 0.075 H 7.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#42121F
RGBrgb(66, 18, 31)
HSLhsl(344, 57%, 16%)
HSVhsv(344, 73%, 26%)
CMYKcmyk(0%, 72.7%, 53%, 74.1%)
CIE-LABlab(13.77, 24.45, 3.60)
CIE-LCHlch(13.77, 24.71, 8.38°)
OKLaboklab(26.63% 0.0744 0.0094)
OKLCHoklch(26.63% 0.075 7.2)
XYZxyz(2.7106, 1.6901, 1.4795)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42121F #124235
analogous
#421237 #42121F #421D12
triadic
#42121F #1F4212 #121F42
tetradic
#42121F #374212 #124235 #1D1242
square
#42121F #374212 #124235 #1D1242
split-complementary
#42121F #12421D #123742
monochromatic
#18070B #18070B #42121F #721F36 #A22C4C

Accessibility & contrast

On white

15.70
#42121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42121F
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42121F#FFFFFF#000000##FFFFFF
##42121F1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D1F
Deuteranopia (green-blind)
#29271E
Tritanopia (blue-blind)
#480B17
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42121f;
/* rgb */ color: rgb(66, 18, 31);
/* oklch */ color: oklch(26.6% 0.075 7.2);
Tailwind
colors: {
  custom: {
    50: '#7a535a',
    500: '#42121f',
    950: '#000000',
  },
}
SCSS
$custom: #42121f;
$custom-light: #7a535a;
$custom-dark: #000000;
JSON
{
  "hex": "#42121f",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 343.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26626,
    "c": 0.07502,
    "h": 7.2
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#42121F
secondary
#357B68
accent
#E0B747
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #42121F

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

Preview Lab → · Contrast checker → · Palette generator →

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