#7D1165#7D1165

#7D1165 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 339.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D1165
RGBrgb(125, 17, 101)
HSLhsl(313, 76%, 28%)
HSVhsv(313, 86%, 49%)
CMYKcmyk(0%, 86.4%, 19.2%, 51%)
CIE-LABlab(28.65, 51.27, -21.07)
CIE-LCHlch(28.65, 55.43, 337.66°)
OKLaboklab(40.67% 0.1531 -0.0571)
OKLCHoklch(40.67% 0.163 339.6)
XYZxyz(11.0072, 5.7016, 12.8302)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1165 #117D29
analogous
#5F117D #7D1165 #7D112F
triadic
#7D1165 #657D11 #11657D
tetradic
#7D1165 #7D5F11 #117D29 #112F7D
square
#7D1165 #7D5F11 #117D29 #112F7D
split-complementary
#7D1165 #2F7D11 #117D5F
monochromatic
#1B0416 #470A39 #7D1165 #B31891 #E227B8

Accessibility & contrast

On white

9.81
#7D1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1165
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1165#FFFFFF#000000##FFFFFF
##7D11651.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3967
Deuteranopia (green-blind)
#404963
Tritanopia (blue-blind)
#85173B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1165;
/* rgb */ color: rgb(125, 17, 101);
/* oklch */ color: oklch(40.7% 0.163 339.6);
Tailwind
colors: {
  custom: {
    50: '#a65f91',
    500: '#7d1165',
    950: '#000000',
  },
}
SCSS
$custom: #7d1165;
$custom-light: #a65f91;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1165",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 313.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4067,
    "c": 0.16342,
    "h": 339.6
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#7D1165
secondary
#37B352
accent
#F35F35
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D1165

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

Preview Lab → · Contrast checker → · Palette generator →

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