#7F284B#7F284B

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

Color values

HEX#7F284B
RGBrgb(127, 40, 75)
HSLhsl(336, 52%, 33%)
HSVhsv(336, 69%, 50%)
CMYKcmyk(0%, 68.5%, 40.9%, 50.2%)
CIE-LABlab(30.73, 40.60, -0.86)
CIE-LCHlch(30.73, 40.61, 358.79°)
OKLaboklab(41.91% 0.1243 -0.0017)
OKLCHoklch(41.91% 0.124 359.2)
XYZxyz(10.7819, 6.5389, 7.3496)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F284B #287F5C
analogous
#7F2876 #7F284B #7F3028
triadic
#7F284B #4B7F28 #284B7F
tetradic
#7F284B #767F28 #287F5C #30287F
square
#7F284B #767F28 #287F5C #30287F
split-complementary
#7F284B #287F30 #28767F
monochromatic
#220B14 #501930 #7F284B #AE3766 #CA5785

Accessibility & contrast

On white

9.10
#7F284B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F284B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F284B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F284B#FFFFFF#000000##FFFFFF
##7F284B1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4C
Deuteranopia (green-blind)
#504E49
Tritanopia (blue-blind)
#8A1F36
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f284b;
/* rgb */ color: rgb(127, 40, 75);
/* oklch */ color: oklch(41.9% 0.124 359.2);
Tailwind
colors: {
  custom: {
    50: '#a8687d',
    500: '#7f284b',
    950: '#000000',
  },
}
SCSS
$custom: #7f284b;
$custom-light: #a8687d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f284b",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 75
  },
  "hsl": {
    "h": 335.862,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.12426,
    "h": 359.2
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#7F284B
secondary
#54AF8A
accent
#DCA24C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F284B

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

Preview Lab → · Contrast checker → · Palette generator →

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