#7D3151#7D3151

#7D3151 is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.0% C 0.111 H 356.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7D3151
RGBrgb(125, 49, 81)
HSLhsl(335, 44%, 34%)
HSVhsv(335, 61%, 49%)
CMYKcmyk(0%, 60.8%, 35.2%, 51%)
CIE-LABlab(32.15, 36.42, -2.73)
CIE-LCHlch(32.15, 36.53, 355.71°)
OKLaboklab(42.96% 0.111 -0.0067)
OKLCHoklch(42.96% 0.111 356.5)
XYZxyz(11.0415, 7.1518, 8.5819)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3151 #317D5D
analogous
#7D3177 #7D3151 #7D3731
triadic
#7D3151 #517D31 #31517D
tetradic
#7D3151 #777D31 #317D5D #37317D
square
#7D3151 #777D31 #317D5D #37317D
split-complementary
#7D3151 #317D37 #31777D
monochromatic
#250F18 #512035 #7D3151 #A9426D #C3668D

Accessibility & contrast

On white

8.64
#7D3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3151
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3151#FFFFFF#000000##FFFFFF
##7D31511.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4352
Deuteranopia (green-blind)
#51514F
Tritanopia (blue-blind)
#872B3D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d3151;
/* rgb */ color: rgb(125, 49, 81);
/* oklch */ color: oklch(43.0% 0.111 356.5);
Tailwind
colors: {
  custom: {
    50: '#a66d81',
    500: '#7d3151',
    950: '#000000',
  },
}
SCSS
$custom: #7d3151;
$custom-light: #a66d81;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3151",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 334.737,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.11117,
    "h": 356.5
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#7D3151
secondary
#60AA8B
accent
#D39E54
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D3151

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

Preview Lab → · Contrast checker → · Palette generator →

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