#7F285D#7F285D

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

Color values

HEX#7F285D
RGBrgb(127, 40, 93)
HSLhsl(323, 52%, 33%)
HSVhsv(323, 69%, 50%)
CMYKcmyk(0%, 68.5%, 26.8%, 50.2%)
CIE-LABlab(31.40, 42.92, -11.61)
CIE-LCHlch(31.40, 44.46, 344.86°)
OKLaboklab(42.62% 0.1299 -0.0307)
OKLCHoklch(42.62% 0.133 346.7)
XYZxyz(11.4874, 6.8211, 11.0654)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F285D #287F4A
analogous
#75287F #7F285D #7F2832
triadic
#7F285D #5D7F28 #285D7F
tetradic
#7F285D #7F7528 #287F4A #28327F
square
#7F285D #7F7528 #287F4A #28327F
split-complementary
#7F285D #327F28 #287F75
monochromatic
#220B19 #50193B #7F285D #AE377F #CA579D

Accessibility & contrast

On white

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

On black

2.36
#7F285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F285D#FFFFFF#000000##FFFFFF
##7F285D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405F
Deuteranopia (green-blind)
#4B4F5B
Tritanopia (blue-blind)
#88263F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f285d;
/* rgb */ color: rgb(127, 40, 93);
/* oklch */ color: oklch(42.6% 0.133 346.7);
Tailwind
colors: {
  custom: {
    50: '#a7698b',
    500: '#7f285d',
    950: '#000000',
  },
}
SCSS
$custom: #7f285d;
$custom-light: #a7698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f285d",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 323.448,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.13343,
    "h": 346.7
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#7F285D
secondary
#54AF77
accent
#DC844C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F285D

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

Preview Lab → · Contrast checker → · Palette generator →

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