#7D1F3F#7D1F3F

#7D1F3F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.130 H 4.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D1F3F
RGBrgb(125, 31, 63)
HSLhsl(340, 60%, 31%)
HSVhsv(340, 75%, 49%)
CMYKcmyk(0%, 75.2%, 49.6%, 51%)
CIE-LABlab(28.64, 42.39, 4.02)
CIE-LCHlch(28.64, 42.58, 5.42°)
OKLaboklab(40.17% 0.1296 0.0107)
OKLCHoklch(40.17% 0.13 4.7)
XYZxyz(9.8455, 5.7001, 5.2835)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F3F #1F7D5D
analogous
#7D1F6E #7D1F3F #7D2E1F
triadic
#7D1F3F #3F7D1F #1F3F7D
tetradic
#7D1F3F #6E7D1F #1F7D5D #2E1F7D
square
#7D1F3F #6E7D1F #1F7D5D #2E1F7D
split-complementary
#7D1F3F #1F7D2E #1F6E7D
monochromatic
#1B070E #4C1326 #7D1F3F #AE2B58 #D14575

Accessibility & contrast

On white

9.81
#7D1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F3F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F3F#FFFFFF#000000##FFFFFF
##7D1F3F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#4E4A3D
Tritanopia (blue-blind)
#880D2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1f3f;
/* rgb */ color: rgb(125, 31, 63);
/* oklch */ color: oklch(40.2% 0.130 4.7);
Tailwind
colors: {
  custom: {
    50: '#a76373',
    500: '#7d1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f3f;
$custom-light: #a76373;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f3f",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 339.574,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.13004,
    "h": 4.7
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#7D1F3F
secondary
#48B08D
accent
#E3AD44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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