#7D314F#7D314F

#7D314F is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.110 H 358.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7D314F
RGBrgb(125, 49, 79)
HSLhsl(336, 44%, 34%)
HSVhsv(336, 61%, 49%)
CMYKcmyk(0%, 60.8%, 36.8%, 51%)
CIE-LABlab(32.08, 36.17, -1.53)
CIE-LCHlch(32.08, 36.20, 357.57°)
OKLaboklab(42.89% 0.1103 -0.0036)
OKLCHoklch(42.89% 0.11 358.2)
XYZxyz(10.9676, 7.1223, 8.1928)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D314F #317D5F
analogous
#7D3175 #7D314F #7D3931
triadic
#7D314F #4F7D31 #314F7D
tetradic
#7D314F #757D31 #317D5F #39317D
square
#7D314F #757D31 #317D5F #39317D
split-complementary
#7D314F #317D39 #31757D
monochromatic
#250F17 #512033 #7D314F #A9426B #C3668A

Accessibility & contrast

On white

8.66
#7D314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D314F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D314F#FFFFFF#000000##FFFFFF
##7D314F1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4350
Deuteranopia (green-blind)
#52514D
Tritanopia (blue-blind)
#872B3D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d314f;
/* rgb */ color: rgb(125, 49, 79);
/* oklch */ color: oklch(42.9% 0.110 358.2);
Tailwind
colors: {
  custom: {
    50: '#a66d80',
    500: '#7d314f',
    950: '#000000',
  },
}
SCSS
$custom: #7d314f;
$custom-light: #a66d80;
$custom-dark: #000000;
JSON
{
  "hex": "#7d314f",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 336.316,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42889,
    "c": 0.11031,
    "h": 358.2
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#7D314F
secondary
#60AA8D
accent
#D3A154
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D314F

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

Preview Lab → · Contrast checker → · Palette generator →

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