#7D1A3E#7D1A3E

#7D1A3E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.135 H 4.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7D1A3E
RGBrgb(125, 26, 62)
HSLhsl(338, 66%, 30%)
HSVhsv(338, 79%, 49%)
CMYKcmyk(0%, 79.2%, 50.4%, 51%)
CIE-LABlab(27.97, 44.09, 3.74)
CIE-LCHlch(27.97, 44.25, 4.84°)
OKLaboklab(39.67% 0.135 0.01)
OKLCHoklch(39.67% 0.135 4.2)
XYZxyz(9.6972, 5.4479, 5.0974)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A3E #1A7D59
analogous
#7D1A70 #7D1A3E #7D281A
triadic
#7D1A3E #3E7D1A #1A3E7D
tetradic
#7D1A3E #707D1A #1A7D59 #281A7D
square
#7D1A3E #707D1A #1A7D59 #281A7D
split-complementary
#7D1A3E #1A7D28 #1A707D
monochromatic
#19050D #4A0F25 #7D1A3E #B02557 #D63B74

Accessibility & contrast

On white

10.05
#7D1A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D1A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A3E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A3E#FFFFFF#000000##FFFFFF
##7D1A3E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32363F
Deuteranopia (green-blind)
#4C493C
Tritanopia (blue-blind)
#88022A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1a3e;
/* rgb */ color: rgb(125, 26, 62);
/* oklch */ color: oklch(39.7% 0.135 4.2);
Tailwind
colors: {
  custom: {
    50: '#a86173',
    500: '#7d1a3e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a3e;
$custom-light: #a86173;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a3e",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 338.182,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3967,
    "c": 0.13533,
    "h": 4.2
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#7D1A3E
secondary
#42B189
accent
#E9AB3F
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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