#42082F#42082F

#42082F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.2% C 0.097 H 344.8°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#42082F
RGBrgb(66, 8, 47)
HSLhsl(320, 78%, 15%)
HSVhsv(320, 88%, 26%)
CMYKcmyk(0%, 87.9%, 28.8%, 74.1%)
CIE-LABlab(12.84, 30.95, -9.55)
CIE-LCHlch(12.84, 32.39, 342.85°)
OKLaboklab(26.16% 0.0938 -0.0254)
OKLCHoklch(26.16% 0.097 344.8)
XYZxyz(2.8468, 1.5375, 2.8356)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42082F #08421B
analogous
#380842 #42082F #420812
triadic
#42082F #2F4208 #082F42
tetradic
#42082F #423808 #08421B #081242
square
#42082F #423808 #08421B #081242
split-complementary
#42082F #124208 #084238
monochromatic
#1B0313 #1B0313 #42082F #790F56 #AF157D

Accessibility & contrast

On white

16.06
#42082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#42082F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42082F
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42082F#FFFFFF#000000##FFFFFF
##42082F1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B30
Deuteranopia (green-blind)
#22252E
Tritanopia (blue-blind)
#47071A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #42082f;
/* rgb */ color: rgb(66, 8, 47);
/* oklch */ color: oklch(26.2% 0.097 344.8);
Tailwind
colors: {
  custom: {
    50: '#794f67',
    500: '#42082f',
    950: '#000000',
  },
}
SCSS
$custom: #42082f;
$custom-light: #794f67;
$custom-dark: #000000;
JSON
{
  "hex": "#42082f",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 319.655,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26157,
    "c": 0.09722,
    "h": 344.8
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#42082F
secondary
#258043
accent
#F57233
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #42082F

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

Preview Lab → · Contrast checker → · Palette generator →

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