#C7267F#C7267F

#C7267F is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.207 H 352.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C7267F
RGBrgb(199, 38, 127)
HSLhsl(327, 68%, 46%)
HSVhsv(327, 81%, 78%)
CMYKcmyk(0%, 80.9%, 36.2%, 22%)
CIE-LABlab(45.72, 66.96, -10.05)
CIE-LCHlch(45.72, 67.71, 351.46°)
OKLaboklab(55.96% 0.2058 -0.0258)
OKLCHoklch(55.96% 0.207 352.9)
XYZxyz(28.0789, 15.0642, 21.5036)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7267F #26C76E
analogous
#BF26C7 #C7267F #C7262F
triadic
#C7267F #7FC726 #267FC7
tetradic
#C7267F #C7BF26 #26C76E #262FC7
square
#C7267F #C7BF26 #26C76E #262FC7
split-complementary
#C7267F #2FC726 #26C7BF
monochromatic
#60123D #941C5E #C7267F #DD4D9D #E781B9

Accessibility & contrast

On white

5.23
#C7267F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C7267F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7267F#FFFFFF#000000##FFFFFF
##C7267F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475A81
Deuteranopia (green-blind)
#75777B
Tritanopia (blue-blind)
#D70F50
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c7267f;
/* rgb */ color: rgb(199, 38, 127);
/* oklch */ color: oklch(56.0% 0.207 352.9);
Tailwind
colors: {
  custom: {
    50: '#dd73a4',
    500: '#c7267f',
    950: '#000000',
  },
}
SCSS
$custom: #c7267f;
$custom-light: #dd73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c7267f",
  "rgb": {
    "r": 199,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 326.832,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.20745,
    "h": 352.9
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#C7267F
secondary
#79CFA0
accent
#EB8B3D
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C7267F

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

Preview Lab → · Contrast checker → · Palette generator →

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