#7D255C#7D255C

#7D255C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.135 H 346.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7D255C
RGBrgb(125, 37, 92)
HSLhsl(323, 54%, 32%)
HSVhsv(323, 70%, 49%)
CMYKcmyk(0%, 70.4%, 26.4%, 51%)
CIE-LABlab(30.54, 43.45, -12.31)
CIE-LCHlch(30.54, 45.16, 344.18°)
OKLaboklab(41.9% 0.1314 -0.0326)
OKLCHoklch(41.9% 0.135 346.1)
XYZxyz(11.0512, 6.4570, 10.7875)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D255C #257D46
analogous
#72257D #7D255C #7D2530
triadic
#7D255C #5C7D25 #255C7D
tetradic
#7D255C #7D7225 #257D46 #25307D
square
#7D255C #7D7225 #257D46 #25307D
split-complementary
#7D255C #307D25 #257D72
monochromatic
#1F0916 #4E1739 #7D255C #AC337F #CB519E

Accessibility & contrast

On white

9.17
#7D255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D255C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D255C#FFFFFF#000000##FFFFFF
##7D255C1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#494D5A
Tritanopia (blue-blind)
#86233D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d255c;
/* rgb */ color: rgb(125, 37, 92);
/* oklch */ color: oklch(41.9% 0.135 346.1);
Tailwind
colors: {
  custom: {
    50: '#a6678a',
    500: '#7d255c',
    950: '#000000',
  },
}
SCSS
$custom: #7d255c;
$custom-light: #a6678a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d255c",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 322.5,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.13542,
    "h": 346.1
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#7D255C
secondary
#4FAF73
accent
#DE814A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D255C

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

Preview Lab → · Contrast checker → · Palette generator →

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