#42082E#42082E

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

Color values

HEX#42082E
RGBrgb(66, 8, 46)
HSLhsl(321, 78%, 15%)
HSVhsv(321, 88%, 26%)
CMYKcmyk(0%, 87.9%, 30.3%, 74.1%)
CIE-LABlab(12.79, 30.80, -8.90)
CIE-LCHlch(12.79, 32.06, 343.89°)
OKLaboklab(26.11% 0.0936 -0.0236)
OKLCHoklch(26.11% 0.097 345.8)
XYZxyz(2.8269, 1.5295, 2.7306)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42082E #08421C
analogous
#390842 #42082E #420811
triadic
#42082E #2E4208 #082E42
tetradic
#42082E #423908 #08421C #081142
square
#42082E #423908 #08421C #081142
split-complementary
#42082E #114208 #084239
monochromatic
#1B0313 #1B0313 #42082E #790F54 #AF157A

Accessibility & contrast

On white

16.08
#42082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42082E
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42082E#FFFFFF#000000##FFFFFF
##42082E1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42082e;
/* rgb */ color: rgb(66, 8, 46);
/* oklch */ color: oklch(26.1% 0.097 345.8);
Tailwind
colors: {
  custom: {
    50: '#794f66',
    500: '#42082e',
    950: '#000000',
  },
}
SCSS
$custom: #42082e;
$custom-light: #794f66;
$custom-dark: #000000;
JSON
{
  "hex": "#42082e",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 320.69,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26105,
    "c": 0.09653,
    "h": 345.8
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#42082E
secondary
#258045
accent
#F57633
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #42082E

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

Preview Lab → · Contrast checker → · Palette generator →

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