#7D165F#7D165F

#7D165F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.155 H 343.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7D165F
RGBrgb(125, 22, 95)
HSLhsl(317, 70%, 29%)
HSVhsv(317, 82%, 49%)
CMYKcmyk(0%, 82.4%, 24%, 51%)
CIE-LABlab(28.80, 49.14, -16.93)
CIE-LCHlch(28.80, 51.98, 340.99°)
OKLaboklab(40.69% 0.1483 -0.0454)
OKLCHoklch(40.69% 0.155 343)
XYZxyz(10.8103, 5.7612, 11.3670)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D165F #167D34
analogous
#68167D #7D165F #7D162C
triadic
#7D165F #5F7D16 #165F7D
tetradic
#7D165F #7D6816 #167D34 #162C7D
square
#7D165F #7D6816 #167D34 #162C7D
split-complementary
#7D165F #2C7D16 #167D68
monochromatic
#1A0514 #490D37 #7D165F #B11F87 #DB32AA

Accessibility & contrast

On white

9.76
#7D165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D165F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D165F#FFFFFF#000000##FFFFFF
##7D165F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#851639
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d165f;
/* rgb */ color: rgb(125, 22, 95);
/* oklch */ color: oklch(40.7% 0.155 343.0);
Tailwind
colors: {
  custom: {
    50: '#a6618c',
    500: '#7d165f',
    950: '#000000',
  },
}
SCSS
$custom: #7d165f;
$custom-light: #a6618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d165f",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 317.476,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.15512,
    "h": 343
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#7D165F
secondary
#3DB25F
accent
#ED6F3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D165F

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

Preview Lab → · Contrast checker → · Palette generator →

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