#7D1B38#7D1B38

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

Color values

HEX#7D1B38
RGBrgb(125, 27, 56)
HSLhsl(342, 64%, 30%)
HSVhsv(342, 78%, 49%)
CMYKcmyk(0%, 78.4%, 55.2%, 51%)
CIE-LABlab(27.93, 43.22, 7.71)
CIE-LCHlch(27.93, 43.90, 10.11°)
OKLaboklab(39.58% 0.1315 0.0197)
OKLCHoklch(39.58% 0.133 8.5)
XYZxyz(9.5641, 5.4307, 4.2852)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B38 #1B7D60
analogous
#7D1B69 #7D1B38 #7D2F1B
triadic
#7D1B38 #387D1B #1B387D
tetradic
#7D1B38 #697D1B #1B7D60 #2F1B7D
square
#7D1B38 #697D1B #1B7D60 #2F1B7D
split-complementary
#7D1B38 #1B7D2F #1B697D
monochromatic
#19050B #4B1021 #7D1B38 #AF264F #D53D6A

Accessibility & contrast

On white

10.07
#7D1B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B38
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B38#FFFFFF#000000##FFFFFF
##7D1B381.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4E4936
Tritanopia (blue-blind)
#890027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1b38;
/* rgb */ color: rgb(125, 27, 56);
/* oklch */ color: oklch(39.6% 0.133 8.5);
Tailwind
colors: {
  custom: {
    50: '#a8616e',
    500: '#7d1b38',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b38;
$custom-light: #a8616e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b38",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 342.245,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39581,
    "c": 0.13294,
    "h": 8.5
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#7D1B38
secondary
#43B190
accent
#E7B640
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1B38

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

Preview Lab → · Contrast checker → · Palette generator →

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