#7D2852#7D2852

#7D2852 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.125 H 353.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7D2852
RGBrgb(125, 40, 82)
HSLhsl(330, 52%, 32%)
HSVhsv(330, 68%, 49%)
CMYKcmyk(0%, 68%, 34.4%, 51%)
CIE-LABlab(30.61, 40.81, -5.67)
CIE-LCHlch(30.61, 41.21, 352.09°)
OKLaboklab(41.83% 0.1246 -0.0145)
OKLCHoklch(41.83% 0.125 353.4)
XYZxyz(10.7398, 6.4879, 8.6677)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2852 #287D53
analogous
#7D287D #7D2852 #7D2928
triadic
#7D2852 #527D28 #28527D
tetradic
#7D2852 #7D7D28 #287D53 #29287D
square
#7D2852 #7D7D28 #287D53 #29287D
split-complementary
#7D2852 #287D29 #287D7D
monochromatic
#200A15 #4F1934 #7D2852 #AB3770 #C9568F

Accessibility & contrast

On white

9.14
#7D2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D2852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2852
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2852#FFFFFF#000000##FFFFFF
##7D28521.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363E53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#872239
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2852;
/* rgb */ color: rgb(125, 40, 82);
/* oklch */ color: oklch(41.8% 0.125 353.4);
Tailwind
colors: {
  custom: {
    50: '#a66882',
    500: '#7d2852',
    950: '#000000',
  },
}
SCSS
$custom: #7d2852;
$custom-light: #a66882;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2852",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 330.353,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.12544,
    "h": 353.4
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#7D2852
secondary
#53AE81
accent
#DB954D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D2852

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

Preview Lab → · Contrast checker → · Palette generator →

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