#7D255F#7D255F

#7D255F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.137 H 344.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7D255F
RGBrgb(125, 37, 95)
HSLhsl(320, 54%, 32%)
HSVhsv(320, 70%, 49%)
CMYKcmyk(0%, 70.4%, 24%, 51%)
CIE-LABlab(30.67, 43.88, -14.06)
CIE-LCHlch(30.67, 46.07, 342.23°)
OKLaboklab(42.04% 0.1322 -0.0374)
OKLCHoklch(42.04% 0.137 344.2)
XYZxyz(11.1850, 6.5105, 11.4918)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D255F #257D43
analogous
#6F257D #7D255F #7D2533
triadic
#7D255F #5F7D25 #255F7D
tetradic
#7D255F #7D6F25 #257D43 #25337D
square
#7D255F #7D6F25 #257D43 #25337D
split-complementary
#7D255F #337D25 #257D6F
monochromatic
#1F0917 #4E173B #7D255F #AC3383 #CB51A2

Accessibility & contrast

On white

9.12
#7D255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D255F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D255F#FFFFFF#000000##FFFFFF
##7D255F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#484E5D
Tritanopia (blue-blind)
#85243E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d255f;
/* rgb */ color: rgb(125, 37, 95);
/* oklch */ color: oklch(42.0% 0.137 344.2);
Tailwind
colors: {
  custom: {
    50: '#a6678c',
    500: '#7d255f',
    950: '#000000',
  },
}
SCSS
$custom: #7d255f;
$custom-light: #a6678c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d255f",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 320.455,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4204,
    "c": 0.13735,
    "h": 344.2
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#7D255F
secondary
#4FAF70
accent
#DE7C4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D255F

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

Preview Lab → · Contrast checker → · Palette generator →

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