#7C285B#7C285B

#7C285B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.130 H 346.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7C285B
RGBrgb(124, 40, 91)
HSLhsl(324, 51%, 32%)
HSVhsv(324, 68%, 49%)
CMYKcmyk(0%, 67.7%, 26.6%, 51.4%)
CIE-LABlab(30.78, 41.72, -11.30)
CIE-LCHlch(30.78, 43.22, 344.84°)
OKLaboklab(42.04% 0.1262 -0.0298)
OKLCHoklch(42.04% 0.13 346.7)
XYZxyz(10.9597, 6.5591, 10.5843)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C285B #287C49
analogous
#73287C #7C285B #7C2831
triadic
#7C285B #5B7C28 #285B7C
tetradic
#7C285B #7C7328 #287C49 #28317C
square
#7C285B #7C7328 #287C49 #28317C
split-complementary
#7C285B #317C28 #287C73
monochromatic
#1F0A17 #4E1939 #7C285B #AA377D #C8569B

Accessibility & contrast

On white

9.08
#7C285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C285B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C285B#FFFFFF#000000##FFFFFF
##7C285B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5D
Deuteranopia (green-blind)
#4A4E59
Tritanopia (blue-blind)
#85263E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c285b;
/* rgb */ color: rgb(124, 40, 91);
/* oklch */ color: oklch(42.0% 0.130 346.7);
Tailwind
colors: {
  custom: {
    50: '#a56889',
    500: '#7c285b',
    950: '#000000',
  },
}
SCSS
$custom: #7c285b;
$custom-light: #a56889;
$custom-dark: #000000;
JSON
{
  "hex": "#7c285b",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 323.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.12965,
    "h": 346.7
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#7C285B
secondary
#52AD76
accent
#DB854D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C285B

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

Preview Lab → · Contrast checker → · Palette generator →

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