#7D1842#7D1842

#7D1842 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.139 H 1.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7D1842
RGBrgb(125, 24, 66)
HSLhsl(335, 68%, 29%)
HSVhsv(335, 81%, 49%)
CMYKcmyk(0%, 80.8%, 47.2%, 51%)
CIE-LABlab(27.87, 45.12, 0.89)
CIE-LCHlch(27.87, 45.13, 1.13°)
OKLaboklab(39.63% 0.1386 0.0028)
OKLCHoklch(39.63% 0.139 1.2)
XYZxyz(9.7682, 5.4079, 5.6827)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1842 #187D53
analogous
#7D1875 #7D1842 #7D2118
triadic
#7D1842 #427D18 #18427D
tetradic
#7D1842 #757D18 #187D53 #21187D
square
#7D1842 #757D18 #187D53 #21187D
split-complementary
#7D1842 #187D21 #18757D
monochromatic
#1A050E #4A0E27 #7D1842 #B0225D #D9377A

Accessibility & contrast

On white

10.09
#7D1842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7D1842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1842
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1842#FFFFFF#000000##FFFFFF
##7D18421.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#88022B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1842;
/* rgb */ color: rgb(125, 24, 66);
/* oklch */ color: oklch(39.6% 0.139 1.2);
Tailwind
colors: {
  custom: {
    50: '#a86076',
    500: '#7d1842',
    950: '#000000',
  },
}
SCSS
$custom: #7d1842;
$custom-light: #a86076;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1842",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 335.05,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.13859,
    "h": 1.2
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#7D1842
secondary
#3FB282
accent
#EBA33D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1842

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

Preview Lab → · Contrast checker → · Palette generator →

#7D1842 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva