#7D1B45#7D1B45

#7D1B45 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.136 H 359.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7D1B45
RGBrgb(125, 27, 69)
HSLhsl(334, 64%, 30%)
HSVhsv(334, 78%, 49%)
CMYKcmyk(0%, 78.4%, 44.8%, 51%)
CIE-LABlab(28.31, 44.44, -0.47)
CIE-LCHlch(28.31, 44.44, 359.40°)
OKLaboklab(39.99% 0.1365 -0.0007)
OKLCHoklch(39.99% 0.136 359.7)
XYZxyz(9.9243, 5.5748, 6.1825)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B45 #1B7D53
analogous
#7D1B76 #7D1B45 #7D221B
triadic
#7D1B45 #457D1B #1B457D
tetradic
#7D1B45 #767D1B #1B7D53 #221B7D
square
#7D1B45 #767D1B #1B7D53 #221B7D
split-complementary
#7D1B45 #1B7D22 #1B767D
monochromatic
#19050E #4B1029 #7D1B45 #AF2661 #D53D7E

Accessibility & contrast

On white

9.93
#7D1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B45
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B45#FFFFFF#000000##FFFFFF
##7D1B451.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4B4A43
Tritanopia (blue-blind)
#880A2D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1b45;
/* rgb */ color: rgb(125, 27, 69);
/* oklch */ color: oklch(40.0% 0.136 359.7);
Tailwind
colors: {
  custom: {
    50: '#a76278',
    500: '#7d1b45',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b45;
$custom-light: #a76278;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b45",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 334.286,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.13647,
    "h": 359.7
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#7D1B45
secondary
#43B182
accent
#E7A040
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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