#7D2947#7D2947

#7D2947 is a dark, moderate pink. Relative luminance 0.064; OKLCH L 41.6% C 0.119 H 1.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7D2947
RGBrgb(125, 41, 71)
HSLhsl(339, 51%, 33%)
HSVhsv(339, 67%, 49%)
CMYKcmyk(0%, 67.2%, 43.2%, 51%)
CIE-LABlab(30.40, 39.04, 1.25)
CIE-LCHlch(30.40, 39.06, 1.84°)
OKLaboklab(41.56% 0.1193 0.0037)
OKLCHoklch(41.56% 0.119 1.8)
XYZxyz(10.3884, 6.4020, 6.6487)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2947 #297D5F
analogous
#7D2971 #7D2947 #7D3529
triadic
#7D2947 #477D29 #29477D
tetradic
#7D2947 #717D29 #297D5F #35297D
square
#7D2947 #717D29 #297D5F #35297D
split-complementary
#7D2947 #297D35 #29717D
monochromatic
#210B13 #4F1A2D #7D2947 #AB3861 #C85880

Accessibility & contrast

On white

9.21
#7D2947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D2947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2947
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2947#FFFFFF#000000##FFFFFF
##7D29471.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D48
Deuteranopia (green-blind)
#504E45
Tritanopia (blue-blind)
#881F35
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2947;
/* rgb */ color: rgb(125, 41, 71);
/* oklch */ color: oklch(41.6% 0.119 1.8);
Tailwind
colors: {
  custom: {
    50: '#a7687a',
    500: '#7d2947',
    950: '#000000',
  },
}
SCSS
$custom: #7d2947;
$custom-light: #a7687a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2947",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 338.571,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41556,
    "c": 0.11939,
    "h": 1.8
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#7D2947
secondary
#54AE8E
accent
#DAA84E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2947

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

Preview Lab → · Contrast checker → · Palette generator →

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