#C7267E#C7267E

#C7267E is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.207 H 353.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C7267E
RGBrgb(199, 38, 126)
HSLhsl(327, 68%, 46%)
HSVhsv(327, 81%, 78%)
CMYKcmyk(0%, 80.9%, 36.7%, 22%)
CIE-LABlab(45.69, 66.86, -9.49)
CIE-LCHlch(45.69, 67.53, 351.92°)
OKLaboklab(55.92% 0.2056 -0.0243)
OKLCHoklch(55.92% 0.207 353.3)
XYZxyz(28.0141, 15.0382, 21.1621)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7267E #26C76F
analogous
#C026C7 #C7267E #C7262E
triadic
#C7267E #7EC726 #267EC7
tetradic
#C7267E #C7C026 #26C76F #262EC7
square
#C7267E #C7C026 #26C76F #262EC7
split-complementary
#C7267E #2EC726 #26C7C0
monochromatic
#60123D #941C5D #C7267E #DD4D9C #E781B8

Accessibility & contrast

On white

5.24
#C7267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C7267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7267E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7267E#FFFFFF#000000##FFFFFF
##C7267E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A80
Deuteranopia (green-blind)
#75777A
Tritanopia (blue-blind)
#D70D50
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c7267e;
/* rgb */ color: rgb(199, 38, 126);
/* oklch */ color: oklch(55.9% 0.207 353.3);
Tailwind
colors: {
  custom: {
    50: '#dd73a3',
    500: '#c7267e',
    950: '#000000',
  },
}
SCSS
$custom: #c7267e;
$custom-light: #dd73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c7267e",
  "rgb": {
    "r": 199,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 327.205,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.20701,
    "h": 353.3
  },
  "luminance": 0.15035
}

Semantic roles & 50–950 ramp

primary
#C7267E
secondary
#79CFA0
accent
#EB8C3D
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C7267E

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

Preview Lab → · Contrast checker → · Palette generator →

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