#7C285F#7C285F

#7C285F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.132 H 344.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7C285F
RGBrgb(124, 40, 95)
HSLhsl(321, 51%, 32%)
HSVhsv(321, 68%, 49%)
CMYKcmyk(0%, 67.7%, 23.4%, 51.4%)
CIE-LABlab(30.95, 42.30, -13.64)
CIE-LCHlch(30.95, 44.45, 342.13°)
OKLaboklab(42.21% 0.1272 -0.0363)
OKLCHoklch(42.21% 0.132 344.1)
XYZxyz(11.1369, 6.6300, 11.5174)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C285F #287C45
analogous
#6F287C #7C285F #7C2835
triadic
#7C285F #5F7C28 #285F7C
tetradic
#7C285F #7C6F28 #287C45 #28357C
square
#7C285F #7C6F28 #287C45 #28357C
split-complementary
#7C285F #357C28 #287C6F
monochromatic
#1F0A18 #4E193C #7C285F #AA3782 #C856A1

Accessibility & contrast

On white

9.03
#7C285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7C285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C285F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C285F#FFFFFF#000000##FFFFFF
##7C285F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#84283F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c285f;
/* rgb */ color: rgb(124, 40, 95);
/* oklch */ color: oklch(42.2% 0.132 344.1);
Tailwind
colors: {
  custom: {
    50: '#a5688c',
    500: '#7c285f',
    950: '#000000',
  },
}
SCSS
$custom: #7c285f;
$custom-light: #a5688c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c285f",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 320.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.13227,
    "h": 344.1
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#7C285F
secondary
#52AD72
accent
#DB7E4D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C285F

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

Preview Lab → · Contrast checker → · Palette generator →

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