#7D1841#7D1841

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

Color values

HEX#7D1841
RGBrgb(125, 24, 65)
HSLhsl(336, 68%, 29%)
HSVhsv(336, 81%, 49%)
CMYKcmyk(0%, 80.8%, 48%, 51%)
CIE-LABlab(27.84, 45.03, 1.52)
CIE-LCHlch(27.84, 45.05, 1.93°)
OKLaboklab(39.6% 0.1382 0.0044)
OKLCHoklch(39.6% 0.138 1.8)
XYZxyz(9.7390, 5.3962, 5.5287)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1841 #187D54
analogous
#7D1874 #7D1841 #7D2218
triadic
#7D1841 #417D18 #18417D
tetradic
#7D1841 #747D18 #187D54 #22187D
square
#7D1841 #747D18 #187D54 #22187D
split-complementary
#7D1841 #187D22 #18747D
monochromatic
#1A050D #4A0E26 #7D1841 #B0225C #D93778

Accessibility & contrast

On white

10.10
#7D1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1841
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1841#FFFFFF#000000##FFFFFF
##7D18411.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303542
Deuteranopia (green-blind)
#4B493F
Tritanopia (blue-blind)
#88012A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1841;
/* rgb */ color: rgb(125, 24, 65);
/* oklch */ color: oklch(39.6% 0.138 1.8);
Tailwind
colors: {
  custom: {
    50: '#a86075',
    500: '#7d1841',
    950: '#000000',
  },
}
SCSS
$custom: #7d1841;
$custom-light: #a86075;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1841",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 335.644,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39597,
    "c": 0.13826,
    "h": 1.8
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#7D1841
secondary
#3FB283
accent
#EBA43D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1841

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

Preview Lab → · Contrast checker → · Palette generator →

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