#7B235C#7B235C

#7B235C is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.137 H 344.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7B235C
RGBrgb(123, 35, 92)
HSLhsl(321, 56%, 31%)
HSVhsv(321, 72%, 48%)
CMYKcmyk(0%, 71.5%, 25.2%, 51.8%)
CIE-LABlab(29.88, 43.68, -13.35)
CIE-LCHlch(29.88, 45.68, 343.01°)
OKLaboklab(41.35% 0.1319 -0.0355)
OKLCHoklch(41.35% 0.137 344.9)
XYZxyz(10.7016, 6.1868, 10.7537)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B235C #237B42
analogous
#6E237B #7B235C #7B2330
triadic
#7B235C #5C7B23 #235C7B
tetradic
#7B235C #7B6E23 #237B42 #23307B
square
#7B235C #7B6E23 #237B42 #23307B
split-complementary
#7B235C #307B23 #237B6E
monochromatic
#1C0815 #4B1538 #7B235C #AB3180 #CC4C9F

Accessibility & contrast

On white

9.39
#7B235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B235C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B235C#FFFFFF#000000##FFFFFF
##7B235C1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#474C5A
Tritanopia (blue-blind)
#83223C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b235c;
/* rgb */ color: rgb(123, 35, 92);
/* oklch */ color: oklch(41.4% 0.137 344.9);
Tailwind
colors: {
  custom: {
    50: '#a4668a',
    500: '#7b235c',
    950: '#000000',
  },
}
SCSS
$custom: #7b235c;
$custom-light: #a4668a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b235c",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 321.136,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.13658,
    "h": 344.9
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#7B235C
secondary
#4CAE6F
accent
#DF7E49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B235C

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

Preview Lab → · Contrast checker → · Palette generator →

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