#7D235C#7D235C

#7D235C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.138 H 345.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7D235C
RGBrgb(125, 35, 92)
HSLhsl(322, 56%, 31%)
HSVhsv(322, 72%, 49%)
CMYKcmyk(0%, 72%, 26.4%, 51%)
CIE-LABlab(30.24, 44.26, -12.75)
CIE-LCHlch(30.24, 46.06, 343.93°)
OKLaboklab(41.69% 0.134 -0.0338)
OKLCHoklch(41.69% 0.138 345.8)
XYZxyz(10.9907, 6.3359, 10.7673)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D235C #237D44
analogous
#71237D #7D235C #7D232F
triadic
#7D235C #5C7D23 #235C7D
tetradic
#7D235C #7D7123 #237D44 #232F7D
square
#7D235C #7D7123 #237D44 #232F7D
split-complementary
#7D235C #2F7D23 #237D71
monochromatic
#1D0816 #4D1639 #7D235C #AD307F #CD4D9E

Accessibility & contrast

On white

9.26
#7D235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D235C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D235C#FFFFFF#000000##FFFFFF
##7D235C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5E
Deuteranopia (green-blind)
#484D5A
Tritanopia (blue-blind)
#86213C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d235c;
/* rgb */ color: rgb(125, 35, 92);
/* oklch */ color: oklch(41.7% 0.138 345.8);
Tailwind
colors: {
  custom: {
    50: '#a6668a',
    500: '#7d235c',
    950: '#000000',
  },
}
SCSS
$custom: #7d235c;
$custom-light: #a6668a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d235c",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 322,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4169,
    "c": 0.13815,
    "h": 345.8
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#7D235C
secondary
#4CAF71
accent
#E08048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D235C

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

Preview Lab → · Contrast checker → · Palette generator →

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