#7D255D#7D255D

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

Color values

HEX#7D255D
RGBrgb(125, 37, 93)
HSLhsl(322, 54%, 32%)
HSVhsv(322, 70%, 49%)
CMYKcmyk(0%, 70.4%, 25.6%, 51%)
CIE-LABlab(30.58, 43.59, -12.89)
CIE-LCHlch(30.58, 45.46, 343.52°)
OKLaboklab(41.95% 0.1317 -0.0342)
OKLCHoklch(41.95% 0.136 345.4)
XYZxyz(11.0952, 6.4746, 11.0192)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D255D #257D45
analogous
#71257D #7D255D #7D2531
triadic
#7D255D #5D7D25 #255D7D
tetradic
#7D255D #7D7125 #257D45 #25317D
square
#7D255D #7D7125 #257D45 #25317D
split-complementary
#7D255D #317D25 #257D71
monochromatic
#1F0917 #4E173A #7D255D #AC3380 #CB519F

Accessibility & contrast

On white

9.15
#7D255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D255D
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D255D#FFFFFF#000000##FFFFFF
##7D255D1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5F
Deuteranopia (green-blind)
#494D5B
Tritanopia (blue-blind)
#86243D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d255d;
/* rgb */ color: rgb(125, 37, 93);
/* oklch */ color: oklch(41.9% 0.136 345.4);
Tailwind
colors: {
  custom: {
    50: '#a6678b',
    500: '#7d255d',
    950: '#000000',
  },
}
SCSS
$custom: #7d255d;
$custom-light: #a6678b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d255d",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 321.818,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.13605,
    "h": 345.4
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#7D255D
secondary
#4FAF72
accent
#DE804A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D255D

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

Preview Lab → · Contrast checker → · Palette generator →

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