#7D1B3F#7D1B3F

#7D1B3F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.135 H 3.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7D1B3F
RGBrgb(125, 27, 63)
HSLhsl(338, 64%, 30%)
HSVhsv(338, 78%, 49%)
CMYKcmyk(0%, 78.4%, 49.6%, 51%)
CIE-LABlab(28.12, 43.84, 3.28)
CIE-LCHlch(28.12, 43.97, 4.28°)
OKLaboklab(39.79% 0.1343 0.0088)
OKLCHoklch(39.79% 0.135 3.8)
XYZxyz(9.7474, 5.5040, 5.2508)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B3F #1B7D59
analogous
#7D1B70 #7D1B3F #7D281B
triadic
#7D1B3F #3F7D1B #1B3F7D
tetradic
#7D1B3F #707D1B #1B7D59 #281B7D
square
#7D1B3F #707D1B #1B7D59 #281B7D
split-complementary
#7D1B3F #1B7D28 #1B707D
monochromatic
#19050D #4B1026 #7D1B3F #AF2658 #D53D75

Accessibility & contrast

On white

10.00
#7D1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D1B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B3F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B3F#FFFFFF#000000##FFFFFF
##7D1B3F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333640
Deuteranopia (green-blind)
#4D493D
Tritanopia (blue-blind)
#88052B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1b3f;
/* rgb */ color: rgb(125, 27, 63);
/* oklch */ color: oklch(39.8% 0.135 3.8);
Tailwind
colors: {
  custom: {
    50: '#a86173',
    500: '#7d1b3f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b3f;
$custom-light: #a86173;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b3f",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 337.959,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3979,
    "c": 0.13454,
    "h": 3.8
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#7D1B3F
secondary
#43B188
accent
#E7AA40
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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