#7D266C#7D266C

#7D266C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.145 H 336.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7D266C
RGBrgb(125, 38, 108)
HSLhsl(312, 53%, 32%)
HSVhsv(312, 70%, 49%)
CMYKcmyk(0%, 69.6%, 13.6%, 51%)
CIE-LABlab(31.42, 45.45, -21.26)
CIE-LCHlch(31.42, 50.18, 334.93°)
OKLaboklab(42.79% 0.1333 -0.0578)
OKLCHoklch(42.79% 0.145 336.6)
XYZxyz(11.8575, 6.8299, 14.8783)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D266C #267D37
analogous
#63267D #7D266C #7D2641
triadic
#7D266C #6C7D26 #266C7D
tetradic
#7D266C #7D6326 #267D37 #26417D
square
#7D266C #7D6326 #267D37 #26417D
split-complementary
#7D266C #417D26 #267D63
monochromatic
#1F091B #4E1843 #7D266C #AC3495 #CB53B3

Accessibility & contrast

On white

8.88
#7D266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D266C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D266C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D266C#FFFFFF#000000##FFFFFF
##7D266C1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416E
Deuteranopia (green-blind)
#444F6A
Tritanopia (blue-blind)
#842B45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d266c;
/* rgb */ color: rgb(125, 38, 108);
/* oklch */ color: oklch(42.8% 0.145 336.6);
Tailwind
colors: {
  custom: {
    50: '#a66896',
    500: '#7d266c',
    950: '#000000',
  },
}
SCSS
$custom: #7d266c;
$custom-light: #a66896;
$custom-dark: #000000;
JSON
{
  "hex": "#7d266c",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 311.724,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.1453,
    "h": 336.6
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#7D266C
secondary
#50AF62
accent
#DD684B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D266C

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

Preview Lab → · Contrast checker → · Palette generator →

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