#7D235B#7D235B

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

Color values

HEX#7D235B
RGBrgb(125, 35, 91)
HSLhsl(323, 56%, 31%)
HSVhsv(323, 72%, 49%)
CMYKcmyk(0%, 72%, 27.2%, 51%)
CIE-LABlab(30.20, 44.13, -12.17)
CIE-LCHlch(30.20, 45.77, 344.58°)
OKLaboklab(41.65% 0.1337 -0.0322)
OKLCHoklch(41.65% 0.138 346.5)
XYZxyz(10.9473, 6.3185, 10.5386)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D235B #237D45
analogous
#72237D #7D235B #7D232E
triadic
#7D235B #5B7D23 #235B7D
tetradic
#7D235B #7D7223 #237D45 #232E7D
square
#7D235B #7D7223 #237D45 #232E7D
split-complementary
#7D235B #2E7D23 #237D72
monochromatic
#1D0815 #4D1638 #7D235B #AD307E #CD4D9D

Accessibility & contrast

On white

9.28
#7D235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D235B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D235B#FFFFFF#000000##FFFFFF
##7D235B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5D
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#86213B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d235b;
/* rgb */ color: rgb(125, 35, 91);
/* oklch */ color: oklch(41.6% 0.138 346.5);
Tailwind
colors: {
  custom: {
    50: '#a66689',
    500: '#7d235b',
    950: '#000000',
  },
}
SCSS
$custom: #7d235b;
$custom-light: #a66689;
$custom-dark: #000000;
JSON
{
  "hex": "#7d235b",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 322.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.13753,
    "h": 346.5
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#7D235B
secondary
#4CAF72
accent
#E08148
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D235B

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

Preview Lab → · Contrast checker → · Palette generator →

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