#7D1B39#7D1B39

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

Color values

HEX#7D1B39
RGBrgb(125, 27, 57)
HSLhsl(342, 64%, 30%)
HSVhsv(342, 78%, 49%)
CMYKcmyk(0%, 78.4%, 54.4%, 51%)
CIE-LABlab(27.95, 43.30, 7.07)
CIE-LCHlch(27.95, 43.88, 9.28°)
OKLaboklab(39.61% 0.1319 0.0182)
OKLCHoklch(39.61% 0.133 7.8)
XYZxyz(9.5888, 5.4406, 4.4153)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B39 #1B7D5F
analogous
#7D1B6A #7D1B39 #7D2E1B
triadic
#7D1B39 #397D1B #1B397D
tetradic
#7D1B39 #6A7D1B #1B7D5F #2E1B7D
square
#7D1B39 #6A7D1B #1B7D5F #2E1B7D
split-complementary
#7D1B39 #1B7D2E #1B6A7D
monochromatic
#19050B #4B1022 #7D1B39 #AF2650 #D53D6C

Accessibility & contrast

On white

10.06
#7D1B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B39
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B39#FFFFFF#000000##FFFFFF
##7D1B391.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34353A
Deuteranopia (green-blind)
#4E4937
Tritanopia (blue-blind)
#890128
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1b39;
/* rgb */ color: rgb(125, 27, 57);
/* oklch */ color: oklch(39.6% 0.133 7.8);
Tailwind
colors: {
  custom: {
    50: '#a8616f',
    500: '#7d1b39',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b39;
$custom-light: #a8616f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b39",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 341.633,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.13313,
    "h": 7.8
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#7D1B39
secondary
#43B18F
accent
#E7B440
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1B39

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

Preview Lab → · Contrast checker → · Palette generator →

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