#C7267B#C7267B

#C7267B is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.8% C 0.206 H 354.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C7267B
RGBrgb(199, 38, 123)
HSLhsl(328, 68%, 46%)
HSVhsv(328, 81%, 78%)
CMYKcmyk(0%, 80.9%, 38.2%, 22%)
CIE-LABlab(45.58, 66.55, -7.81)
CIE-LCHlch(45.58, 67.01, 353.31°)
OKLaboklab(55.81% 0.2048 -0.0198)
OKLCHoklch(55.81% 0.206 354.5)
XYZxyz(27.8234, 14.9620, 20.1578)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7267B #26C772
analogous
#C326C7 #C7267B #C7262B
triadic
#C7267B #7BC726 #267BC7
tetradic
#C7267B #C7C326 #26C772 #262BC7
square
#C7267B #C7C326 #26C772 #262BC7
split-complementary
#C7267B #2BC726 #26C7C3
monochromatic
#60123B #941C5B #C7267B #DD4D99 #E781B7

Accessibility & contrast

On white

5.26
#C7267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C7267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7267B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7267B#FFFFFF#000000##FFFFFF
##C7267B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#767677
Tritanopia (blue-blind)
#D7084E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c7267b;
/* rgb */ color: rgb(199, 38, 123);
/* oklch */ color: oklch(55.8% 0.206 354.5);
Tailwind
colors: {
  custom: {
    50: '#dd73a1',
    500: '#c7267b',
    950: '#000000',
  },
}
SCSS
$custom: #c7267b;
$custom-light: #dd73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7267b",
  "rgb": {
    "r": 199,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 328.323,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.20572,
    "h": 354.5
  },
  "luminance": 0.14958
}

Semantic roles & 50–950 ramp

primary
#C7267B
secondary
#79CFA2
accent
#EB8F3D
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C7267B

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

Preview Lab → · Contrast checker → · Palette generator →

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