#7C235E#7C235E

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

Color values

HEX#7C235E
RGBrgb(124, 35, 94)
HSLhsl(320, 56%, 31%)
HSVhsv(320, 72%, 49%)
CMYKcmyk(0%, 71.8%, 24.2%, 51.4%)
CIE-LABlab(30.15, 44.26, -14.22)
CIE-LCHlch(30.15, 46.49, 342.19°)
OKLaboklab(41.61% 0.1334 -0.0379)
OKLCHoklch(41.61% 0.139 344.1)
XYZxyz(10.9340, 6.2964, 11.2270)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C235E #237C41
analogous
#6D237C #7C235E #7C2331
triadic
#7C235E #5E7C23 #235E7C
tetradic
#7C235E #7C6D23 #237C41 #23317C
square
#7C235E #7C6D23 #237C41 #23317C
split-complementary
#7C235E #317C23 #237C6D
monochromatic
#1D0816 #4C163A #7C235E #AC3082 #CD4DA2

Accessibility & contrast

On white

9.30
#7C235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C235E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C235E#FFFFFF#000000##FFFFFF
##7C235E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D60
Deuteranopia (green-blind)
#474C5C
Tritanopia (blue-blind)
#84223D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c235e;
/* rgb */ color: rgb(124, 35, 94);
/* oklch */ color: oklch(41.6% 0.139 344.1);
Tailwind
colors: {
  custom: {
    50: '#a5668b',
    500: '#7c235e',
    950: '#000000',
  },
}
SCSS
$custom: #7c235e;
$custom-light: #a5668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c235e",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 320.225,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.13866,
    "h": 344.1
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#7C235E
secondary
#4CAF6D
accent
#DF7B49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C235E

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

Preview Lab → · Contrast checker → · Palette generator →

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