#CB427E#CB427E

#CB427E is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.9% C 0.181 H 357.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CB427E
RGBrgb(203, 66, 126)
HSLhsl(334, 57%, 53%)
HSVhsv(334, 67%, 80%)
CMYKcmyk(0%, 67.5%, 37.9%, 20.4%)
CIE-LABlab(49.62, 58.88, -3.56)
CIE-LCHlch(49.62, 58.99, 356.54°)
OKLaboklab(58.94% 0.1803 -0.0086)
OKLCHoklch(58.94% 0.181 357.3)
XYZxyz(30.3446, 18.1029, 21.6308)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB427E #42CB8F
analogous
#CB42C2 #CB427E #CB4B42
triadic
#CB427E #7ECB42 #427ECB
tetradic
#CB427E #C2CB42 #42CB8F #4B42CB
square
#CB427E #C2CB42 #42CB8F #4B42CB
split-complementary
#CB427E #42CB4B #42C2CB
monochromatic
#732044 #A32D61 #CB427E #D8729F #E5A2C0

Accessibility & contrast

On white

4.55
#CB427E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CB427E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB427E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB427E#FFFFFF#000000##000000
##CB427E1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6680
Deuteranopia (green-blind)
#817F7B
Tritanopia (blue-blind)
#DB345B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb427e;
/* rgb */ color: rgb(203, 66, 126);
/* oklch */ color: oklch(58.9% 0.181 357.3);
Tailwind
colors: {
  custom: {
    50: '#df7fa3',
    500: '#cb427e',
    950: '#000000',
  },
}
SCSS
$custom: #cb427e;
$custom-light: #df7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb427e",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 333.723,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.18051,
    "h": 357.3
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#CB427E
secondary
#97D2B8
accent
#E09D48
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB427E

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

Preview Lab → · Contrast checker → · Palette generator →

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