#7D165E#7D165E

#7D165E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.154 H 343.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7D165E
RGBrgb(125, 22, 94)
HSLhsl(318, 70%, 29%)
HSVhsv(318, 82%, 49%)
CMYKcmyk(0%, 82.4%, 24.8%, 51%)
CIE-LABlab(28.75, 49.01, -16.35)
CIE-LCHlch(28.75, 51.66, 341.55°)
OKLaboklab(40.64% 0.1482 -0.0437)
OKLCHoklch(40.64% 0.154 343.6)
XYZxyz(10.7652, 5.7431, 11.1291)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D165E #167D35
analogous
#69167D #7D165E #7D162B
triadic
#7D165E #5E7D16 #165E7D
tetradic
#7D165E #7D6916 #167D35 #162B7D
square
#7D165E #7D6916 #167D35 #162B7D
split-complementary
#7D165E #2B7D16 #167D69
monochromatic
#1A0514 #490D37 #7D165E #B11F85 #DB32A8

Accessibility & contrast

On white

9.77
#7D165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D165E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D165E#FFFFFF#000000##FFFFFF
##7D165E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#861639
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d165e;
/* rgb */ color: rgb(125, 22, 94);
/* oklch */ color: oklch(40.6% 0.154 343.6);
Tailwind
colors: {
  custom: {
    50: '#a6618b',
    500: '#7d165e',
    950: '#000000',
  },
}
SCSS
$custom: #7d165e;
$custom-light: #a6618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d165e",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 318.058,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.15448,
    "h": 343.6
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#7D165E
secondary
#3DB260
accent
#ED703B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D165E

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

Preview Lab → · Contrast checker → · Palette generator →

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