#CF2E6A#CF2E6A

#CF2E6A is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.2% C 0.199 H 4.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CF2E6A
RGBrgb(207, 46, 106)
HSLhsl(338, 64%, 50%)
HSVhsv(338, 78%, 81%)
CMYKcmyk(0%, 77.8%, 48.8%, 18.8%)
CIE-LABlab(47.32, 64.89, 5.36)
CIE-LCHlch(47.32, 65.11, 4.72°)
OKLaboklab(57.18% 0.1987 0.0143)
OKLCHoklch(57.18% 0.199 4.1)
XYZxyz(29.3132, 16.2641, 15.2286)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E6A #2ECF93
analogous
#CF2EBA #CF2E6A #CF432E
triadic
#CF2E6A #6ACF2E #2E6ACF
tetradic
#CF2E6A #BACF2E #2ECF93 #432ECF
square
#CF2E6A #BACF2E #2ECF93 #432ECF
split-complementary
#CF2E6A #2ECF43 #2EBACF
monochromatic
#6B1837 #9D2350 #CF2E6A #DB5F8D #E791B1

Accessibility & contrast

On white

4.94
#CF2E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#CF2E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E6A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E6A#FFFFFF#000000##FFFFFF
##CF2E6A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575C6B
Deuteranopia (green-blind)
#817C66
Tritanopia (blue-blind)
#E10048
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cf2e6a;
/* rgb */ color: rgb(207, 46, 106);
/* oklch */ color: oklch(57.2% 0.199 4.1);
Tailwind
colors: {
  custom: {
    50: '#e47794',
    500: '#cf2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e6a;
$custom-light: #e47794;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e6a",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 337.64,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.19923,
    "h": 4.1
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#CF2E6A
secondary
#88D1B6
accent
#E7A941
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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