#C7397B#C7397B

#C7397B is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.187 H 356.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C7397B
RGBrgb(199, 57, 123)
HSLhsl(332, 56%, 50%)
HSVhsv(332, 71%, 78%)
CMYKcmyk(0%, 71.4%, 38.2%, 22%)
CIE-LABlab(47.63, 60.78, -4.77)
CIE-LCHlch(47.63, 60.96, 355.51°)
OKLaboklab(57.3% 0.1864 -0.0118)
OKLCHoklch(57.3% 0.187 356.4)
XYZxyz(28.5934, 16.5019, 20.4145)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7397B #39C785
analogous
#C739C2 #C7397B #C73E39
triadic
#C7397B #7BC739 #397BC7
tetradic
#C7397B #C2C739 #39C785 #3E39C7
square
#C7397B #C2C739 #39C785 #3E39C7
split-complementary
#C7397B #39C73E #39C2C7
monochromatic
#681D40 #982B5E #C7397B #D4699B #E298BB

Accessibility & contrast

On white

4.88
#C7397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C7397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7397B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7397B#FFFFFF#000000##FFFFFF
##C7397B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607D
Deuteranopia (green-blind)
#7C7B78
Tritanopia (blue-blind)
#D72955
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c7397b;
/* rgb */ color: rgb(199, 57, 123);
/* oklch */ color: oklch(57.3% 0.187 356.4);
Tailwind
colors: {
  custom: {
    50: '#dd7ba1',
    500: '#c7397b',
    950: '#000000',
  },
}
SCSS
$custom: #c7397b;
$custom-light: #dd7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7397b",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 332.113,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.18676,
    "h": 356.4
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#C7397B
secondary
#8ECEB0
accent
#DF9949
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C7397B

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

Preview Lab → · Contrast checker → · Palette generator →

#C7397B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva