#C7267C#C7267C

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

Color values

HEX#C7267C
RGBrgb(199, 38, 124)
HSLhsl(328, 68%, 46%)
HSVhsv(328, 81%, 78%)
CMYKcmyk(0%, 80.9%, 37.7%, 22%)
CIE-LABlab(45.62, 66.65, -8.37)
CIE-LCHlch(45.62, 67.18, 352.84°)
OKLaboklab(55.85% 0.2051 -0.0213)
OKLCHoklch(55.85% 0.206 354.1)
XYZxyz(27.8863, 14.9871, 20.4892)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7267C #26C771
analogous
#C226C7 #C7267C #C7262C
triadic
#C7267C #7CC726 #267CC7
tetradic
#C7267C #C7C226 #26C771 #262CC7
square
#C7267C #C7C226 #26C771 #262CC7
split-complementary
#C7267C #2CC726 #26C7C2
monochromatic
#60123C #941C5C #C7267C #DD4D9A #E781B7

Accessibility & contrast

On white

5.25
#C7267C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#C7267C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7267C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7267C#FFFFFF#000000##FFFFFF
##C7267C1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597E
Deuteranopia (green-blind)
#767678
Tritanopia (blue-blind)
#D70A4F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c7267c;
/* rgb */ color: rgb(199, 38, 124);
/* oklch */ color: oklch(55.8% 0.206 354.1);
Tailwind
colors: {
  custom: {
    50: '#dd73a1',
    500: '#c7267c',
    950: '#000000',
  },
}
SCSS
$custom: #c7267c;
$custom-light: #dd73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7267c",
  "rgb": {
    "r": 199,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 327.95,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.20615,
    "h": 354.1
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#C7267C
secondary
#79CFA1
accent
#EB8E3D
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090F
muted
#847B7E

Preview Lab

Preview with #C7267C

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

Preview Lab → · Contrast checker → · Palette generator →

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