#7D314B#7D314B

#7D314B is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.8% C 0.109 H 1.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7D314B
RGBrgb(125, 49, 75)
HSLhsl(339, 44%, 34%)
HSVhsv(339, 61%, 49%)
CMYKcmyk(0%, 60.8%, 40%, 51%)
CIE-LABlab(31.96, 35.67, 0.89)
CIE-LCHlch(31.96, 35.68, 1.42°)
OKLaboklab(42.75% 0.1088 0.0027)
OKLCHoklch(42.75% 0.109 1.4)
XYZxyz(10.8264, 7.0658, 7.4489)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D314B #317D63
analogous
#7D3171 #7D314B #7D3D31
triadic
#7D314B #4B7D31 #314B7D
tetradic
#7D314B #717D31 #317D63 #3D317D
square
#7D314B #717D31 #317D63 #3D317D
split-complementary
#7D314B #317D3D #31717D
monochromatic
#250F16 #512031 #7D314B #A94265 #C36685

Accessibility & contrast

On white

8.70
#7D314B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D314B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D314B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D314B#FFFFFF#000000##FFFFFF
##7D314B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#872A3B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d314b;
/* rgb */ color: rgb(125, 49, 75);
/* oklch */ color: oklch(42.8% 0.109 1.4);
Tailwind
colors: {
  custom: {
    50: '#a66d7d',
    500: '#7d314b',
    950: '#000000',
  },
}
SCSS
$custom: #7d314b;
$custom-light: #a66d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d314b",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 339.474,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.10879,
    "h": 1.4
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#7D314B
secondary
#60AA91
accent
#D3A854
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7D314B

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

Preview Lab → · Contrast checker → · Palette generator →

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