#42062D#42062D

#42062D is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.099 H 346.5°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#42062D
RGBrgb(66, 6, 45)
HSLhsl(321, 83%, 14%)
HSVhsv(321, 91%, 26%)
CMYKcmyk(0%, 90.9%, 31.8%, 74.1%)
CIE-LABlab(12.47, 31.45, -8.66)
CIE-LCHlch(12.47, 32.62, 344.60°)
OKLaboklab(25.85% 0.0958 -0.0229)
OKLCHoklch(25.85% 0.099 346.5)
XYZxyz(2.7857, 1.4783, 2.6208)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42062D #06421B
analogous
#390642 #42062D #42060F
triadic
#42062D #2D4206 #062D42
tetradic
#42062D #423906 #06421B #060F42
square
#42062D #423906 #06421B #060F42
split-complementary
#42062D #0F4206 #064239
monochromatic
#1C0313 #1C0313 #42062D #7A0B53 #B2107A

Accessibility & contrast

On white

16.21
#42062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#42062D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42062D
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42062D#FFFFFF#000000##FFFFFF
##42062D1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#21242C
Tritanopia (blue-blind)
#470419
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #42062d;
/* rgb */ color: rgb(66, 6, 45);
/* oklch */ color: oklch(25.9% 0.099 346.5);
Tailwind
colors: {
  custom: {
    50: '#794e66',
    500: '#42062d',
    950: '#000000',
  },
}
SCSS
$custom: #42062d;
$custom-light: #794e66;
$custom-dark: #000000;
JSON
{
  "hex": "#42062d",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 321,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25853,
    "c": 0.09854,
    "h": 346.5
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#42062D
secondary
#228244
accent
#FA752E
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #42062D

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

Preview Lab → · Contrast checker → · Palette generator →

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