#7D1937#7D1937

#7D1937 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.135 H 8.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7D1937
RGBrgb(125, 25, 55)
HSLhsl(342, 67%, 29%)
HSVhsv(342, 80%, 49%)
CMYKcmyk(0%, 80%, 56%, 51%)
CIE-LABlab(27.66, 43.81, 8.01)
CIE-LCHlch(27.66, 44.54, 10.36°)
OKLaboklab(39.38% 0.1332 0.0204)
OKLCHoklch(39.38% 0.135 8.7)
XYZxyz(9.4956, 5.3324, 4.1429)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1937 #197D5F
analogous
#7D1969 #7D1937 #7D2D19
triadic
#7D1937 #377D19 #19377D
tetradic
#7D1937 #697D19 #197D5F #2D197D
square
#7D1937 #697D19 #197D5F #2D197D
split-complementary
#7D1937 #197D2D #19697D
monochromatic
#1A050B #4A0F21 #7D1937 #B0234D #D73969

Accessibility & contrast

On white

10.16
#7D1937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7D1937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1937
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1937#FFFFFF#000000##FFFFFF
##7D19371.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333438
Deuteranopia (green-blind)
#4D4935
Tritanopia (blue-blind)
#890026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1937;
/* rgb */ color: rgb(125, 25, 55);
/* oklch */ color: oklch(39.4% 0.135 8.7);
Tailwind
colors: {
  custom: {
    50: '#a8606d',
    500: '#7d1937',
    950: '#000000',
  },
}
SCSS
$custom: #7d1937;
$custom-light: #a8606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1937",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 342,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39376,
    "c": 0.1348,
    "h": 8.7
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

primary
#7D1937
secondary
#40B18F
accent
#EAB63E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1937

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

Preview Lab → · Contrast checker → · Palette generator →

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