#7C233F#7C233F

#7C233F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.124 H 5.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7C233F
RGBrgb(124, 35, 63)
HSLhsl(341, 56%, 31%)
HSVhsv(341, 72%, 49%)
CMYKcmyk(0%, 71.8%, 49.2%, 51.4%)
CIE-LABlab(29.02, 40.48, 4.54)
CIE-LCHlch(29.02, 40.73, 6.40°)
OKLaboklab(40.42% 0.1236 0.012)
OKLCHoklch(40.42% 0.124 5.6)
XYZxyz(9.8112, 5.8473, 5.3137)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C233F #237C60
analogous
#7C236B #7C233F #7C3323
triadic
#7C233F #3F7C23 #233F7C
tetradic
#7C233F #6B7C23 #237C60 #33237C
square
#7C233F #6B7C23 #237C60 #33237C
split-complementary
#7C233F #237C33 #236B7C
monochromatic
#1D080F #4C1627 #7C233F #AC3057 #CD4D75

Accessibility & contrast

On white

9.68
#7C233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C233F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C233F#FFFFFF#000000##FFFFFF
##7C233F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373940
Deuteranopia (green-blind)
#4E4B3D
Tritanopia (blue-blind)
#87142E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c233f;
/* rgb */ color: rgb(124, 35, 63);
/* oklch */ color: oklch(40.4% 0.124 5.6);
Tailwind
colors: {
  custom: {
    50: '#a66573',
    500: '#7c233f',
    950: '#000000',
  },
}
SCSS
$custom: #7c233f;
$custom-light: #a66573;
$custom-dark: #000000;
JSON
{
  "hex": "#7c233f",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 341.124,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.12413,
    "h": 5.6
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7C233F
secondary
#4CAF90
accent
#DFB049
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7C233F

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

Preview Lab → · Contrast checker → · Palette generator →

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