#7D2940#7D2940

#7D2940 is a dark, moderate pink. Relative luminance 0.063; OKLCH L 41.3% C 0.117 H 7.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7D2940
RGBrgb(125, 41, 64)
HSLhsl(344, 51%, 33%)
HSVhsv(344, 67%, 49%)
CMYKcmyk(0%, 67.2%, 48.8%, 51%)
CIE-LABlab(30.20, 38.29, 5.58)
CIE-LCHlch(30.20, 38.69, 8.28°)
OKLaboklab(41.34% 0.1166 0.0146)
OKLCHoklch(41.34% 0.117 7.1)
XYZxyz(10.1766, 6.3173, 5.5329)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2940 #297D66
analogous
#7D296A #7D2940 #7D3C29
triadic
#7D2940 #407D29 #29407D
tetradic
#7D2940 #6A7D29 #297D66 #3C297D
square
#7D2940 #6A7D29 #297D66 #3C297D
split-complementary
#7D2940 #297D3C #296A7D
monochromatic
#210B11 #4F1A28 #7D2940 #AB3858 #C85877

Accessibility & contrast

On white

9.28
#7D2940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D2940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2940
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2940#FFFFFF#000000##FFFFFF
##7D29401.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D41
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#881D32
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2940;
/* rgb */ color: rgb(125, 41, 64);
/* oklch */ color: oklch(41.3% 0.117 7.1);
Tailwind
colors: {
  custom: {
    50: '#a76874',
    500: '#7d2940',
    950: '#000000',
  },
}
SCSS
$custom: #7d2940;
$custom-light: #a76874;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2940",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 343.571,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41336,
    "c": 0.11749,
    "h": 7.1
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#7D2940
secondary
#54AE95
accent
#DAB44E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2940

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

Preview Lab → · Contrast checker → · Palette generator →

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