#7D1A3F#7D1A3F

#7D1A3F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.136 H 3.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7D1A3F
RGBrgb(125, 26, 63)
HSLhsl(338, 66%, 30%)
HSVhsv(338, 79%, 49%)
CMYKcmyk(0%, 79.2%, 49.6%, 51%)
CIE-LABlab(28.00, 44.18, 3.11)
CIE-LCHlch(28.00, 44.29, 4.02°)
OKLaboklab(39.7% 0.1354 0.0084)
OKLCHoklch(39.7% 0.136 3.6)
XYZxyz(9.7249, 5.4590, 5.2433)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A3F #1A7D58
analogous
#7D1A71 #7D1A3F #7D271A
triadic
#7D1A3F #3F7D1A #1A3F7D
tetradic
#7D1A3F #717D1A #1A7D58 #271A7D
square
#7D1A3F #717D1A #1A7D58 #271A7D
split-complementary
#7D1A3F #1A7D27 #1A717D
monochromatic
#19050D #4A0F25 #7D1A3F #B02559 #D63B75

Accessibility & contrast

On white

10.04
#7D1A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A3F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A3F#FFFFFF#000000##FFFFFF
##7D1A3F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#4C493D
Tritanopia (blue-blind)
#88032A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1a3f;
/* rgb */ color: rgb(125, 26, 63);
/* oklch */ color: oklch(39.7% 0.136 3.6);
Tailwind
colors: {
  custom: {
    50: '#a86173',
    500: '#7d1a3f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a3f;
$custom-light: #a86173;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a3f",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 337.576,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39702,
    "c": 0.13561,
    "h": 3.6
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#7D1A3F
secondary
#42B187
accent
#E9A93F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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