#7F254D#7F254D

#7F254D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.129 H 357.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7F254D
RGBrgb(127, 37, 77)
HSLhsl(333, 55%, 32%)
HSVhsv(333, 71%, 50%)
CMYKcmyk(0%, 70.9%, 39.4%, 50.2%)
CIE-LABlab(30.33, 42.12, -2.76)
CIE-LCHlch(30.33, 42.21, 356.25°)
OKLaboklab(41.64% 0.129 -0.0067)
OKLCHoklch(41.64% 0.129 357)
XYZxyz(10.7542, 6.3723, 7.6834)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F254D #257F57
analogous
#7F257A #7F254D #7F2A25
triadic
#7F254D #4D7F25 #254D7F
tetradic
#7F254D #7A7F25 #257F57 #2A257F
square
#7F254D #7A7F25 #257F57 #2A257F
split-complementary
#7F254D #257F2A #257A7F
monochromatic
#200914 #501730 #7F254D #AE336A #CD5288

Accessibility & contrast

On white

9.23
#7F254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F254D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F254D#FFFFFF#000000##FFFFFF
##7F254D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4E
Deuteranopia (green-blind)
#4E4E4B
Tritanopia (blue-blind)
#891C36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f254d;
/* rgb */ color: rgb(127, 37, 77);
/* oklch */ color: oklch(41.6% 0.129 357.0);
Tailwind
colors: {
  custom: {
    50: '#a8677e',
    500: '#7f254d',
    950: '#000000',
  },
}
SCSS
$custom: #7f254d;
$custom-light: #a8677e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f254d",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 333.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.1292,
    "h": 357
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#7F254D
secondary
#4FB185
accent
#DE9C4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F254D

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

Preview Lab → · Contrast checker → · Palette generator →

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