#C7268B#C7268B

#C7268B is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.4% C 0.213 H 348.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C7268B
RGBrgb(199, 38, 139)
HSLhsl(322, 68%, 46%)
HSVhsv(322, 81%, 78%)
CMYKcmyk(0%, 80.9%, 30.2%, 22%)
CIE-LABlab(46.17, 68.27, -16.68)
CIE-LCHlch(46.17, 70.28, 346.27°)
OKLaboklab(56.43% 0.2087 -0.0439)
OKLCHoklch(56.43% 0.213 348.1)
XYZxyz(28.9081, 15.3958, 25.8705)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7268B #26C762
analogous
#B326C7 #C7268B #C7263B
triadic
#C7268B #8BC726 #268BC7
tetradic
#C7268B #C7B326 #26C762 #263BC7
square
#C7268B #C7B326 #26C762 #263BC7
split-complementary
#C7268B #3BC726 #26C7B3
monochromatic
#601243 #941C67 #C7268B #DD4DA7 #E781C1

Accessibility & contrast

On white

5.15
#C7268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C7268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7268B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7268B#FFFFFF#000000##FFFFFF
##C7268B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8E
Deuteranopia (green-blind)
#727787
Tritanopia (blue-blind)
#D61C57
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c7268b;
/* rgb */ color: rgb(199, 38, 139);
/* oklch */ color: oklch(56.4% 0.213 348.1);
Tailwind
colors: {
  custom: {
    50: '#dd74ad',
    500: '#c7268b',
    950: '#000000',
  },
}
SCSS
$custom: #c7268b;
$custom-light: #dd74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c7268b",
  "rgb": {
    "r": 199,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 322.36,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.21323,
    "h": 348.1
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#C7268B
secondary
#79CF99
accent
#EB7E3D
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160910
muted
#847B7F

Preview Lab

Preview with #C7268B

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

Preview Lab → · Contrast checker → · Palette generator →

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